Documentation ¶
Index ¶
Constants ¶
View Source
const UDP_PACKET_SIZE = 4096
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UdpInput ¶
type UdpInput struct {
// contains filtered or unexported fields
}
type UdpInputConfig ¶
type UdpOutput ¶
type UdpOutput struct {
// contains filtered or unexported fields
}
type UdpOutputConfig ¶
type UdpOutputConfig struct { // Network type ("udp", "udp4", "udp6", or "unixgram"). Needs to match the // input type. Net string // String representation of the address of the network connection to which // we will be sending out packets (e.g. "192.168.64.48:3336"). Address string // Optional address to use as the local address for the connection. LocalAddress string `toml:"local_address"` // Maximum size of message, plugin drops the data if it exceeds this limit. MaxMessageSize int `toml:"max_message_size"` }
This is our plugin's config struct
Click to show internal directories.
Click to hide internal directories.