Documentation ¶
Index ¶
Constants ¶
View Source
const ( INIT clientState = iota GAME OVER )
Variables ¶
Functions ¶
func DebugWidget ¶
func DebugWidget(m DebugModel) string
func LogsWidget ¶
func LogsWidget(m LoggedModel, tail int) string
Types ¶
type DebugModel ¶
type LoggedModel ¶
type LoggedModel interface {
GetLogs() []string
}
Click to show internal directories.
Click to hide internal directories.