Documentation ¶
Index ¶
- type Config
- type DokodemoDoor
- func (this *DokodemoDoor) AcceptTCPConnections(tcpListener *net.TCPListener)
- func (this *DokodemoDoor) HandleTCPConnection(conn *net.TCPConn)
- func (this *DokodemoDoor) Listen(port v2net.Port) error
- func (this *DokodemoDoor) ListenTCP(port v2net.Port) error
- func (this *DokodemoDoor) ListenUDP(port v2net.Port) error
- type DokodemoDoorFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config interface { Address() v2net.Address Network() v2net.NetworkList Timeout() int }
type DokodemoDoor ¶
type DokodemoDoor struct {
// contains filtered or unexported fields
}
func NewDokodemoDoor ¶ added in v0.14.1
func NewDokodemoDoor(space *app.Space, config Config) *DokodemoDoor
func (*DokodemoDoor) AcceptTCPConnections ¶ added in v0.14.1
func (this *DokodemoDoor) AcceptTCPConnections(tcpListener *net.TCPListener)
func (*DokodemoDoor) HandleTCPConnection ¶ added in v0.14.1
func (this *DokodemoDoor) HandleTCPConnection(conn *net.TCPConn)
func (*DokodemoDoor) Listen ¶ added in v0.14.1
func (this *DokodemoDoor) Listen(port v2net.Port) error
type DokodemoDoorFactory ¶ added in v0.14.1
type DokodemoDoorFactory struct { }
func (DokodemoDoorFactory) Create ¶ added in v0.14.1
func (this DokodemoDoorFactory) Create(space *app.Space, rawConfig interface{}) (connhandler.InboundConnectionHandler, error)
Click to show internal directories.
Click to hide internal directories.