|
|
@ -15,8 +15,8 @@ import ( |
|
|
|
|
|
|
|
|
|
|
|
var ( |
|
|
|
var ( |
|
|
|
startupTime time.Time |
|
|
|
startupTime time.Time |
|
|
|
setupToken = fmt.Sprintf("!setup %+v", rand.Intn(9999)+1000) |
|
|
|
setupToken = fmt.Sprintf("%+v", rand.Intn(9999)+1000) |
|
|
|
rebootToken = fmt.Sprintf("!reboot %+v", rand.Intn(9999)+1000) |
|
|
|
rebootToken = fmt.Sprintf("%+v", rand.Intn(9999)+1000) |
|
|
|
bump = true |
|
|
|
bump = true |
|
|
|
config Config |
|
|
|
config Config |
|
|
|
log = loggy.NewLogger(config.LogOpts) |
|
|
|
log = loggy.NewLogger(config.LogOpts) |
|
|
|