Documentation
¶
Index ¶
Constants ¶
View Source
const ( ExitOK = 0 // successful termination ExitGeneral = 1 // catchall for errors ExitNoUser = 67 // user unknown ExitNoRelay = 68 // relay name unknown ExitInternalError = 70 // internal software error ExitSystemErr = 71 // system error (e.g., can't spawn worker) ExitIoErr = 74 // input/output error ExitTempFail = 75 // temp failure; user can retry ExitProtocol = 76 // remote error in protocol ExitNoPerm = 77 // permission denied ExitCannotInvoke = 126 // Command invoked cannot execute ExitCommandNotFound = 127 // "command not found" )
Variables ¶
This section is empty.
Functions ¶
func AuthorizeUser ¶
func SpawnWorker ¶
SpawnWorker receives a CommandEntry and a slice of command parameters strings, and constructs a new worker.Worker.
func StartListening ¶
func StartListening() (chan<- data.CommandRequest, <-chan data.CommandResponse)
StartListening instructs the relays to begin listening for incoming command requests.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.