Documentation ¶
Index ¶
- Variables
- func AddClient(msg *og.Message, state *og.StateData) (*og.Message, error)
- func AddConsole(msg *og.Message, state *og.StateData) (*og.Message, error)
- func AddUser(msg *og.Message, state *og.StateData) (*og.Message, error)
- func AuthClient(msg *og.Message, state *og.StateData) (*og.Message, error)
- func AuthConsole(msg *og.Message, state *og.StateData) (*og.Message, error)
- func AuthUser(msg *og.Message, state *og.StateData) (*og.Message, error)
- func CheckReqFields(msg *og.Message, names ...string) *og.Message
- func GetPasswordProperties(msg *og.Message, state *og.StateData) (*og.Message, error)
- func HeartbeatHandler(msg *og.Message, state *og.StateData) (*og.Message, error)
- func RequireSource(msg *og.Message, state *og.StateData, source string) *og.Message
Constants ¶
This section is empty.
Variables ¶
View Source
var ClientCommandList = map[string]og.RequestHandler{ "AddClient": AddClient, "AuthClient": AuthClient, "GetPasswordProperties": GetPasswordProperties, "♥": HeartbeatHandler, }
View Source
var ConsoleCommandList = map[string]og.RequestHandler{ "AddConsole": AddConsole, "AddUser": AddUser, "AuthConsole": AuthConsole, "GetPasswordProperties": GetPasswordProperties, }
Functions ¶
func CheckReqFields ¶
CheckReqFields returns a failure response if a field is missing
func GetPasswordProperties ¶
func HeartbeatHandler ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.