worker

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2018 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package worker implements the logic for reading packets from a session's ring buffer, encapsulating them and writing them to the network as frames.

Index

Constants

View Source
const (
	PktLenSize = 2
	MinSpace   = 16
	SigHdrLen  = 8
	MaxSeq     = (1 << 24) - 1
)

Variables

This section is empty.

Functions

func DefaultFactory

func DefaultFactory(sess egress.Session, logger log.Logger) egress.Runner

func NewWorker

func NewWorker(sess egress.Session, logger log.Logger) *worker

Types

This section is empty.

Jump to

Keyboard shortcuts

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