Exemple #1
0
func init() {
	bind.WithFlag()
	if fl := log.Flags(); fl&log.Ltime != 0 {
		log.SetFlags(fl | log.Lmicroseconds)
	}
	graceful.DoubleKickWindow(2 * time.Second)
}
Exemple #2
0
func init() {
	bind.WithFlag()
	graceful.DoubleKickWindow(2 * time.Second)
}