Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseConfig ¶
type BaseConfig struct {
BasePath string `mapstructure:"basepath"`
}
type CollectorConfig ¶
type CollectorConfig struct { Base *BaseConfig `mapstructure:"base"` Node *NodeConfig `mapstructure:"node"` LogClient *LogClientConfig `mapstructure:"logclient"` LogServer *LogServerConfig `mapstructure:"logserver"` }
func NewCollectorConfig ¶
func NewCollectorConfig(confPath string, configType string) (*CollectorConfig, error)
func (*CollectorConfig) Complete ¶
func (c *CollectorConfig) Complete()
func (*CollectorConfig) Validate ¶
func (c *CollectorConfig) Validate() bool
type LogClientConfig ¶
type LogClientConfig struct {
LoggerName string `mapstructure:"loggername"`
}
type LogServerConfig ¶
type NodeConfig ¶
Click to show internal directories.
Click to hide internal directories.