testsuite

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TCPServer

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

func NewTCPServer

func NewTCPServer() (*TCPServer, error)

func (*TCPServer) Address

func (ts *TCPServer) Address() string

func (*TCPServer) Close

func (ts *TCPServer) Close() error

func (*TCPServer) Listen

func (ts *TCPServer) Listen()

Listen start accepting connection

Blocking function

type UDPServer

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

func NewUDPServer

func NewUDPServer() (*UDPServer, error)

func (*UDPServer) Address

func (ts *UDPServer) Address() string

func (*UDPServer) Close

func (ts *UDPServer) Close() error

func (*UDPServer) Listen

func (ts *UDPServer) Listen()

Jump to

Keyboard shortcuts

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