Documentation ¶
Index ¶
Constants ¶
View Source
const ModuleName = "socket"
ModuleName is the name used in config file
Variables ¶
This section is empty.
Functions ¶
Types ¶
type OutputConfig ¶
type OutputConfig struct { config.OutputConfig Socket string `json:"socket"` // Type of socket, must be one of ["tcp", "unix", "unixpacket"]. Address string `json:"address"` // For TCP, address must have the form `host:port`. For Unix networks, the address must be a file system path. // contains filtered or unexported fields }
OutputConfig holds the configuration json fields and internal objects
func DefaultOutputConfig ¶
func DefaultOutputConfig() OutputConfig
DefaultOutputConfig returns an OutputConfig struct with default values
Click to show internal directories.
Click to hide internal directories.