dokodemo

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: May 1, 2016 License: MIT Imports: 10 Imported by: 8 modules, 16 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 struct {
	Address v2net.Address
	Port    v2net.Port
	Network *v2net.NetworkList
	Timeout int
}

type DokodemoDoor

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

func NewDokodemoDoor

func NewDokodemoDoor(config *Config, packetDispatcher dispatcher.PacketDispatcher) *DokodemoDoor

func (*DokodemoDoor) Close added in v1.9.1

func (this *DokodemoDoor) Close()

func (*DokodemoDoor) HandleTCPConnection

func (this *DokodemoDoor) HandleTCPConnection(conn hub.Connection)

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

func (*DokodemoDoor) Port added in v1.9.1

func (this *DokodemoDoor) Port() v2net.Port

Jump to

Keyboard shortcuts

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