Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Console ¶
type Console struct {
// contains filtered or unexported fields
}
Console represents the server console and can be used to interact with the minecraft server.
func NewConsole ¶
NewConsole creates a new console
func (*Console) SendCommand ¶
SendCommand sends a command to the minecraft server
func (*Console) Start ¶
func (c *Console) Start()
Start will start the console, it will follow the logs
func (*Console) Unsubscribe ¶
Unsubscribe unsubscribes from the log stream
Click to show internal directories.
Click to hide internal directories.