Documentation ¶
Index ¶
- Constants
- Variables
- func LoadCfg(filePath string, dest interface{}) error
- func RenderCfg(data []byte) ([]byte, error)
- func Run(name, description string, service Service)
- func RunTest(name string, service Service, cfgPath string, readyChan chan<- struct{})
- func YAMLValueToJSONValue(yamlValue interface{}) (interface{}, error)
- type APICfg
- type Daemon
- type DaemonCfg
- type Service
Constants ¶
View Source
const (
DefaultAPIAddress = "localhost:4196"
)
Variables ¶
Functions ¶
func YAMLValueToJSONValue ¶
func YAMLValueToJSONValue(yamlValue interface{}) (interface{}, error)
Types ¶
type DaemonCfg ¶
type DaemonCfg struct { Logger *dlog.LoggerCfg API *APICfg HTTPServers map[string]dhttp.ServerCfg HTTPClients map[string]dhttp.ClientCfg Influx *influx.ClientCfg Pg *pg.ClientCfg // contains filtered or unexported fields }
func NewDaemonCfg ¶
func NewDaemonCfg() DaemonCfg
func (DaemonCfg) AddHTTPClient ¶
Click to show internal directories.
Click to hide internal directories.