Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIConfig ¶
type APIConfig struct {
Hostname string
}
APIConfig is a configuration object concerning in the API server.
type Config ¶
type Config struct {
InReader io.Reader
OutWriter, ErrWriter io.Writer
WorkingDir string
Version string
Revision, BuildDate string
TLD string
Package string
API *APIConfig
DNS *DNSConfig
Proxy *ProxyConfig
Daemon *DaemonConfig
}
Config is a configuration object.
type DNSConfig ¶
type DNSConfig struct {
Port uint16
}
DNSConfig is a configuration object concerning in the DNS server.
type DaemonConfig ¶
DaemonConfig is a configuration object concerning in daemon.
type ProxyConfig ¶
type ProxyConfig struct {
DefaultPort uint16
}
ProxyConfig is a configuration object concerning in the Proxy server.
Click to show internal directories.
Click to hide internal directories.