blackhole

package
v0.14.3 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2015 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlackHole added in v0.14.1

type BlackHole struct {
}

BlackHole is an outbound connection that sliently swallow the entire payload.

func NewBlackHole added in v0.14.1

func NewBlackHole() *BlackHole

func (*BlackHole) Dispatch added in v0.14.1

func (bh *BlackHole) Dispatch(firstPacket v2net.Packet, ray ray.OutboundRay) error

type BlackHoleFactory added in v0.14.1

type BlackHoleFactory struct {
}

func (BlackHoleFactory) Create added in v0.14.1

func (factory BlackHoleFactory) Create(config interface{}) (connhandler.OutboundConnectionHandler, error)

Directories

Path Synopsis
config

Jump to

Keyboard shortcuts

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