FILE / ScuroNeko/mtg

timeattack/init.go

Исходный файл и его история в репозитории.
FILE a3bae795c4eb9da3e5bc3937085e677598ffe343
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