Documentation ¶
Index ¶
- func AddGroup(groupName string, users []string)
- func AddMessage(msg common.Message)
- func AddUser(user string)
- func NewCLI() error
- func NewCUI() error
- func NewRelayConsole()
- func Quit()
- func RelayConsole(ccChan *logger.ChanChanMessage)
- func RemoveUser(user string)
- func SetCreateConn(f common.CreateConnFunc)
- func SetSendMessage(f common.SendMessageFunc)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRelayConsole ¶
func NewRelayConsole()
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 ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.