Versions in this module Expand all Collapse all v1 v1.2.0 Apr 11, 2016 Changes in this version + 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 struct + Args string + Callback CommandCallback + Command string + Desc string + Example []string + Regex *regexp.Regexp + type CommandCallback func(line string, args []string)