Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Info - Display colorful information Info = bold + cyan + "[*] " + normal // Warn - Warn a user Warn = bold + red + "[!] " + normal // Debug - Display debug information Debug = bold + purple + "[-] " + normal // Woot - Display success Woot = bold + green + "[$] " + normal )
Variables ¶
This section is empty.
Functions ¶
func NewOperatorConfig ¶ added in v1.5.0
NewOperatorConfig - Generate a new player/client/operator configuration
Types ¶
type ClientConfig ¶
type ClientConfig struct {
Operator string `json:"operator"`
Token string `json:"token"`
LHost string `json:"lhost"`
LPort int `json:"lport"`
CACertificate string `json:"ca_certificate"`
PrivateKey string `json:"private_key"`
Certificate string `json:"certificate"`
}
ClientConfig - Client JSON config
Click to show internal directories.
Click to hide internal directories.