udplistener

package
v0.0.0-...-f92ee09 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UDPListener

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

UDPListener listens for UDP packets on a given listenAddress

func New

func New(listenAddress string, bufferSize int, pipeline pipeline.Pipeline) *UDPListener

New creates a new UDPListener instance

func (*UDPListener) Shutdown

func (u *UDPListener) Shutdown()

Shutdown initiates shutdown of the UDPListener

func (*UDPListener) Start

func (u *UDPListener) Start() error

Start UDPListener instance

func (*UDPListener) WaitForShutdown

func (u *UDPListener) WaitForShutdown()

WaitForShutdown waits for the UDP listener to shut down

Jump to

Keyboard shortcuts

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