update wrapper interface
@@ -32,6 +32,9 @@ import (
// Wrapper all available functions to control ogame bot
type Wrapper interface {
+ Tx(clb func(tx *Prioritize))
+ Begin() *Prioritize
+ Done()
WithPriority(priority int) *Prioritize
GetPublicIP() (string, error)
OnStateChange(clb func(locked bool, actor string))
