ery

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2018 License: MIT Imports: 1 Imported by: 0

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

type DaemonConfig struct {
	Name        string
	Description string
}

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL