FILE / ScuroNeko/mtg

timeattack/init.go

Исходный файл и его история в репозитории.
FILE 54a7c6a2a5321eb10473aac0e2edcd85b4523efb
Files
mtg/timeattack/init.go
T

11 lines
313 B
Go

// TimeAttack has implementation of mtglib.TimeAttackDetector>
package timeattack
import "time"
// DefaultDuration is a default duration when timestamps are acceptable.
//
// It means that all timestamps which are X-DefaultDuration <= X <=
// X+DefaultDuration are fine.
const DefaultDuration = 5 * time.Second