client

package
v0.0.0-...-f27cff4 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: AGPL-3.0 Imports: 14 Imported by: 0

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 {
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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