Documentation ¶
Overview ¶
A TCP server wrapper, implements Handler interface to handle client connections
A TCP server wrapper, implements Handler interface to handle client connections
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TCPServer ¶
type TCPServer interface { Serve(handler Handler) Close() }
func NewPlainServer ¶
return a new plain tcp(non TLS) server
type WebServer ¶
type WebServer struct { Root string // contains filtered or unexported fields }
func NewWebServer ¶
Click to show internal directories.
Click to hide internal directories.