mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 19:54:01 +03:00
Add documentation for timeattack
This commit is contained in:
+6
-3
@@ -1,7 +1,10 @@
|
||||
// TimeAttack has implementation of mtglib.TimeAttackDetector>
|
||||
package timeattack
|
||||
|
||||
import "time"
|
||||
|
||||
const (
|
||||
DefaultDuration = 5 * time.Second
|
||||
)
|
||||
// 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
|
||||
|
||||
Reference in New Issue
Block a user