Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SeriesWriter ¶
type SeriesWriter interface {
WriteSeries(database, retentionPolicy string, points []influxdb.Point) (uint64, error)
}
SeriesWriter defines the interface for the destination of the data.
type UDPServer ¶
type UDPServer struct {
// contains filtered or unexported fields
}
UDPServer
func NewUDPServer ¶
func NewUDPServer(w SeriesWriter) *UDPServer
NewUDPServer returns a new instance of a UDPServer
func (*UDPServer) ListenAndServe ¶
ListenAndServe binds the server to the given UDP interface.
Click to show internal directories.
Click to hide internal directories.