testhelpers

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EventuallyAtomic

func EventuallyAtomic(actual *int64) gomega.AsyncAssertion

Types

type UdpServer

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

func NewUdpServer

func NewUdpServer() (*UdpServer, error)

func (*UdpServer) Addr

func (u *UdpServer) Addr() string

func (*UdpServer) Close

func (u *UdpServer) Close()

func (*UdpServer) Run

func (u *UdpServer) Run() error

func (*UdpServer) SetHandler

func (u *UdpServer) SetHandler(handler func([]byte))

func (*UdpServer) SetResponse

func (u *UdpServer) SetResponse(response []byte)

Jump to

Keyboard shortcuts

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