Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Connect ¶
func Connect(opts ConnectOpts) error
Types ¶
type ClientState ¶
type ClientState struct { App *tview.Application Client proto.GameWorldClient MaxMessages int // contains filtered or unexported fields }
func (*ClientState) AddMessage ¶
func (cs *ClientState) AddMessage(ev *proto.WorldEvent)
func (*ClientState) HandleInput ¶
func (cs *ClientState) HandleInput(input string)
type ConnectOpts ¶
type ConnectOpts struct { }
Click to show internal directories.
Click to hide internal directories.