Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Queue ¶
type Queue struct {
// contains filtered or unexported fields
}
Queue is a thread safe queue.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server handles initilizing an HTTP server as well as a rfc 5425 message processor.
func NewServer ¶
func NewServer(addr, datadogKey string, opts ...ServerOption) *Server
NewServer will start a listener on the given addr and configure a server for processing rfc5424 messages.
type ServerOption ¶
type ServerOption func(*Server)
ServerOption is a func that can be passed into NewServer to configure optional settings on the Server.
func WithDatadogBaseURL ¶
func WithDatadogBaseURL(baseURL string) ServerOption
WithDatadogBaseURL sets the base url for the datadog API.
Click to show internal directories.
Click to hide internal directories.