echo

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EchoTcpMsgLong added in v1.1.4

func EchoTcpMsgLong(msg []byte, sleepTime time.Duration, address string) error

func SendTcpMsg

func SendTcpMsg(msg []byte, address string) []byte

func SendUdpMsg

func SendUdpMsg(msg []byte, address string) []byte

Types

type EchoServer added in v1.1.5

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

func NewEchoServer added in v1.1.5

func NewEchoServer(host string, port int) *EchoServer

func (*EchoServer) Run added in v1.1.5

func (s *EchoServer) Run() error

func (*EchoServer) Stop added in v1.1.5

func (s *EchoServer) Stop()

Jump to

Keyboard shortcuts

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