udp

package
v2.51.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PickPort

func PickPort() net.Port

Types

type Server

type Server struct {
	Port         net.Port
	MsgProcessor func(msg []byte) []byte
	// contains filtered or unexported fields
}

func (*Server) Close

func (server *Server) Close()

func (*Server) Start

func (server *Server) Start() (net.Destination, error)

Jump to

Keyboard shortcuts

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