blackhole

package
v0.14.4 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 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

type BlackHole struct {
}

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

func NewBlackHole

func NewBlackHole() *BlackHole

func (*BlackHole) Dispatch

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

type BlackHoleFactory

type BlackHoleFactory struct {
}

func (BlackHoleFactory) Create

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