udp

package
v6.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUdpServer

func NewUdpServer(base mb.BaseMetricSet) (server.Server, error)

Types

type UdpConfig

type UdpConfig struct {
	Host              string `config:"host"`
	Port              int    `config:"port"`
	ReceiveBufferSize int    `config:"receive_buffer_size"`
}

type UdpEvent

type UdpEvent struct {
	// contains filtered or unexported fields
}

func (*UdpEvent) GetEvent

func (u *UdpEvent) GetEvent() common.MapStr

func (*UdpEvent) GetMeta

func (u *UdpEvent) GetMeta() server.Meta

type UdpServer

type UdpServer struct {
	// contains filtered or unexported fields
}

func (*UdpServer) GetEvents

func (g *UdpServer) GetEvents() chan server.Event

func (*UdpServer) Start

func (g *UdpServer) Start() error

func (*UdpServer) Stop

func (g *UdpServer) Stop()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL