Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentConfig ¶
type AgentConfig struct {
CentralCfg corecfg.CentralConfig `config:"central"`
GatewayCfg *GatewayConfig `config:"gateway-section"`
}
AgentConfig - represents the config for agent
type GatewayConfig ¶
type GatewayConfig struct {
corecfg.IConfigValidator
LogFile string `config:"logFile"`
ProcessOnInput bool `config:"processOnInput"`
RestPort string `config:"restPort"`
ConfigKey1 string `config:"config_key_1"`
ConfigKey2 string `config:"config_key_2"`
ConfigKey3 string `config:"config_key_3"`
}
GatewayConfig - represents the config for gateway
func (*GatewayConfig) ValidateCfg ¶
func (c *GatewayConfig) ValidateCfg() (err error)
ValidateCfg - Validates the gateway config
Click to show internal directories.
Click to hide internal directories.