Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNotConnected means the client attempted to send data but there was no connection to the server ErrNotConnected = errors.New("rcon: not connected to the server") // ErrAlreadyLoggedIn means the RCON client was already logged in but a second login attempt was made ErrAlreadyLoggedIn = errors.New("rcon: already successfully logged in") // ErrInvalidPassword means the password used in the RCON login was incorrect ErrInvalidPassword = errors.New("rcon: incorrect password") // ErrNotAuthenticated means the client attempted to execute a command before a login was successful ErrNotAuthenticated = errors.New("rcon: not authenticated with the server") )
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Messages chan string // contains filtered or unexported fields }
Client is a client for interacting with RCON and contains multiple methods
Click to show internal directories.
Click to hide internal directories.