Documentation
¶
Index ¶
Constants ¶
View Source
const ( DEBUG = uint8(iota) INFO WARN ERR FATAL )
log levels
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IO ¶ added in v0.1.0
type IO interface { Logger(level uint8, format string, args ...interface{}) GetInputFeed() chan InMsg GetOutputFeed() chan string GetContext() context.Context }
IO provides a common interface to work with dnspot. Any CLI/Web/WASM app can deploy the 4 functions and act as a frontend for dnspot server
type Server ¶ added in v0.1.0
type Server struct { PrivateKeyBase36 string ListenAddress string EnforceClientKeys bool AcceptedClientKeysBase36 []string DNSSuffix string Mode string // contains filtered or unexported fields }
Server contains all the runtime configuration of a dnspot Command and Control server
func (Server) ListAgents ¶ added in v0.1.0
ListAgents returns a list of agents connected to the server
Click to show internal directories.
Click to hide internal directories.