integration

package
v3.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WsjtxFake

type WsjtxFake struct {
	ReceiveChan chan []byte
	// contains filtered or unexported fields
}

func NewFake

func NewFake(addr *net.UDPAddr, t *testing.T) (*WsjtxFake, error)

NewFake initializes a new fake WSJTX program on an OS-assigned port.

func (*WsjtxFake) SendMessage

func (w *WsjtxFake) SendMessage(payload []byte) (int, error)

SendMessage immediately sends the given payload out from the WSJTX fake.

func (*WsjtxFake) Stop

func (w *WsjtxFake) Stop()

Jump to

Keyboard shortcuts

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