blackhole

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2015 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlackHole

type BlackHole struct {
}

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

func NewBlackHole

func NewBlackHole() *BlackHole

func (*BlackHole) Dispatch

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

type BlackHoleFactory

type BlackHoleFactory struct {
}

func (BlackHoleFactory) Create

func (this BlackHoleFactory) Create(space app.Space, config interface{}) (connhandler.OutboundConnectionHandler, error)

type Config added in v1.1.1

type Config interface {
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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