Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Password = "pa$$word"
View Source
var Username = "alice@example.com"
Functions ¶
This section is empty.
Types ¶
type AdminConsole ¶
type AdminConsole struct {
// contains filtered or unexported fields
}
func (*AdminConsole) Close ¶
func (c *AdminConsole) Close() error
type LogsSocket ¶
type LogsSocket struct {
// contains filtered or unexported fields
}
func OpenLogsSocket ¶
func OpenLogsSocket() LogsSocket
func (*LogsSocket) RemoveClient ¶
func (s *LogsSocket) RemoveClient(id string) error
type NonAdminConsole ¶
type NonAdminConsole struct{}
func (NonAdminConsole) Broadcast ¶
func (c NonAdminConsole) Broadcast(msg string) error
func (NonAdminConsole) Players ¶
func (c NonAdminConsole) Players() ([]string, error)
func (NonAdminConsole) Seed ¶
func (c NonAdminConsole) Seed() (string, error)
Click to show internal directories.
Click to hide internal directories.