cmdlistenudp

package
v0.0.0-...-97b5c88 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-2.0, Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RandPort

func RandPort() int

Types

type CmdUdpClient

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

func NewCmdUdpClient

func NewCmdUdpClient(port string) *CmdUdpClient

func (*CmdUdpClient) Close

func (cuc *CmdUdpClient) Close()

func (*CmdUdpClient) Start

func (cuc *CmdUdpClient) Start() error

func (*CmdUdpClient) Write

func (cuc *CmdUdpClient) Write(buf []byte) error

type CmdUpdServer

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

func NewUdpServer

func NewUdpServer(port int) *CmdUpdServer

func (*CmdUpdServer) Serve

func (cus *CmdUpdServer) Serve() error

Jump to

Keyboard shortcuts

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