queue

package
v0.1.27 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Queue

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

Queue sends out TLV values over a net.PacketConn

func NewQueue

func NewQueue(mtu int, writer io.Writer) *Queue

func (*Queue) Close

func (q *Queue) Close() error

func (*Queue) SendIn

func (q *Queue) SendIn(maxDelay time.Duration)

func (*Queue) SendValue

func (b *Queue) SendValue(v proto.Value, maxDelay time.Duration)

func (*Queue) SendValues

func (b *Queue) SendValues(vs []proto.Value, maxDelay time.Duration)

Jump to

Keyboard shortcuts

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