Documentation
¶
Index ¶
Constants ¶
View Source
const ( ProtocolRCON = "rcon" ProtocolTELNET = "telnet" ProtocolWebRCON = "web" )
Allowed protocols.
View Source
const DefaultProtocol = ProtocolRCON
DefaultProtocol contains the default protocol for connecting to a remote server.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Session ¶
type Session struct {
Address string `json:"address" yaml:"address"`
Password string `json:"password" yaml:"password"`
// Log is the name of the file to which requests will be logged.
// If not specified, no logging will be performed.
Log string `json:"log" yaml:"log"`
Type string `json:"type" yaml:"type"`
}
Session contains details for making a request on a remote server.
Click to show internal directories.
Click to hide internal directories.