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 ¶ added in v1.1.0
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)
type DokodemoDoorFactory ¶
type DokodemoDoorFactory struct { }
func (DokodemoDoorFactory) Create ¶
func (this DokodemoDoorFactory) Create(space *app.Space, rawConfig interface{}) (connhandler.InboundConnectionHandler, error)
Click to show internal directories.
Click to hide internal directories.