Versions in this module Expand all Collapse all v1 v1.0.8 Apr 27, 2020 Changes in this version + const BaseActionType + const BaseURL + const CloseType + const HotType + const KickType + const SaveType + const SecretKey + func Md5(str string) string + type Action interface + CheckParams func() error + GetAction func(action string) (Action, error) + GetName func() string + GetType func() int + InitFlags func(flags *flags.Flags) + JoinPayload func() *strings.Reader + JoinUrl func() (string, string) + type Actions []Action + func (c Actions) CheckParams() error + func (c Actions) GetAction(action string) (Action, error) + func (c Actions) GetName() string + func (c Actions) GetType() int + func (c Actions) InitFlags(flags *flags.Flags) + func (c Actions) JoinPayload() *strings.Reader + func (c Actions) JoinUrl() (string, string) + type BaseAction struct + Host string + Name string + Port int + ServerID int + func (c *BaseAction) CheckParams() error + func (c *BaseAction) GetAction(action string) (Action, error) + func (c *BaseAction) GetName() string + func (c *BaseAction) GetType() int + func (c *BaseAction) InitFlags(flags *flags.Flags) + func (c *BaseAction) JoinPayload() *strings.Reader + func (c *BaseAction) JoinUrl() (string, string)