batch

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Read

func Read(sc syscall.RawConn, msgs []*Message) (int, error)

Read reads from the RawConn multiple messages in a single syscall.

Types

type Message

type Message struct {

	// Scratch is to reduce allocations for consumers of Message.
	Scratch [256]byte

	// Data contained in the Message to handle.
	Data []byte
	// contains filtered or unexported fields
}

Message is what we read from/to.

Jump to

Keyboard shortcuts

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