ui

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2016 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddGroup

func AddGroup(groupName string, users []string)

Adds a group to UI

func AddMessage

func AddMessage(msg common.Message)

Adds a message to UI

func AddUser

func AddUser(user string)

Adds a user to UI

func NewCLI

func NewCLI() error

Creates new CLI

func NewCUI

func NewCUI() error

Creates new CUI

func NewRelayConsole

func NewRelayConsole()

func Quit

func Quit()

Quits UI

func RelayConsole

func RelayConsole(ccChan *logger.ChanChanMessage)

A STDOUT console for no UI

func RemoveUser

func RemoveUser(user string)

Removes a user from UI

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL