blackhole

package
v0.0.0-...-f596b8d Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2020 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 (this *BlackHole) Dispatch(firstPacket v2net.Packet, ray ray.OutboundRay) error

type BlackHoleFactory

type BlackHoleFactory struct {
}

func (BlackHoleFactory) Create

func (this 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