dokodemo

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2015 License: MIT Imports: 9 Imported by: 16

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v1.1.1

type Config interface {
	Address() v2net.Address
	Network() v2net.NetworkList
	Timeout() int
}

type DokodemoDoor

type DokodemoDoor struct {
	// contains filtered or unexported fields
}

func NewDokodemoDoor

func NewDokodemoDoor(space *app.Space, config Config) *DokodemoDoor

func (*DokodemoDoor) AcceptTCPConnections

func (this *DokodemoDoor) AcceptTCPConnections(tcpListener *net.TCPListener)

func (*DokodemoDoor) HandleTCPConnection

func (this *DokodemoDoor) HandleTCPConnection(conn *net.TCPConn)

func (*DokodemoDoor) Listen

func (this *DokodemoDoor) Listen(port v2net.Port) error

func (*DokodemoDoor) ListenTCP

func (this *DokodemoDoor) ListenTCP(port v2net.Port) error

func (*DokodemoDoor) ListenUDP

func (this *DokodemoDoor) ListenUDP(port v2net.Port) error

type DokodemoDoorFactory

type DokodemoDoorFactory struct {
}

func (DokodemoDoorFactory) Create

func (this DokodemoDoorFactory) Create(space *app.Space, rawConfig interface{}) (connhandler.InboundConnectionHandler, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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