Documentation ¶
Index ¶
- func AddCommand(msg common.Message)
- func AddGroup(groupName string, users []string)
- func AddMessage(msg common.Message)
- func AddUser(user string)
- func CLIConsole(ccChan *lg.ChanChanMessage)
- func GetLogger() *log.Logger
- func QuitCLI()
- func RemoveUser(user string)
- func SetCreateConn(f common.CreateConnFunc)
- func SetSendMessage(f common.SendMessageFunc)
- func StartCLI()
- type Command
- type CommandCallback
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CLIConsole ¶
func CLIConsole(ccChan *lg.ChanChanMessage)
func SetCreateConn ¶
func SetCreateConn(f common.CreateConnFunc)
Sets the chat function for creating connection
func SetSendMessage ¶
func SetSendMessage(f common.SendMessageFunc)
Sets the chat function for sending message
Types ¶
type CommandCallback ¶
Click to show internal directories.
Click to hide internal directories.