Documentation ¶
Index ¶
- func CreateTCPConnection(options TCPConnectionOptions) (gen.MetaBehavior, error)
- func CreateTCPServer(options TCPServerOptions) (gen.MetaBehavior, error)
- func CreateUDPServer(options UDPServerOptions) (gen.MetaBehavior, error)
- func CreateWebServer(options WebServerOptions) (gen.MetaBehavior, error)
- type MessageTCP
- type MessageTCPConnect
- type MessageTCPDisconnect
- type MessageUDP
- type MessageWebRequest
- type TCPConnectionOptions
- type TCPServerOptions
- type UDPServerOptions
- type WebHandler
- type WebHandlerOptions
- type WebServerOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTCPConnection ¶
func CreateTCPConnection(options TCPConnectionOptions) (gen.MetaBehavior, error)
func CreateTCPServer ¶
func CreateTCPServer(options TCPServerOptions) (gen.MetaBehavior, error)
func CreateUDPServer ¶
func CreateUDPServer(options UDPServerOptions) (gen.MetaBehavior, error)
func CreateWebServer ¶
func CreateWebServer(options WebServerOptions) (gen.MetaBehavior, error)
Types ¶
type MessageTCP ¶
type MessageTCPConnect ¶
type MessageTCPDisconnect ¶
type MessageWebRequest ¶
type MessageWebRequest struct { Response http.ResponseWriter Request *http.Request Done func() }
type TCPConnectionOptions ¶
type TCPServerOptions ¶
type UDPServerOptions ¶
type WebHandler ¶
type WebHandler interface { http.Handler gen.MetaBehavior }
func CreateWebHandler ¶
func CreateWebHandler(options WebHandlerOptions) WebHandler
type WebHandlerOptions ¶
type WebServerOptions ¶
Click to show internal directories.
Click to hide internal directories.