Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Listen ¶
func Listen(host, port string)
Listen sets up a socket to listen for client connections. When a client connects the connection made is passed to newClient to setup a client instance for housekeeping. client.Process is then launched as a new goroutine to handle the main I/O processing for the client.
TODO: currently there is no way to shut the server down other than Ctrl-C
Types ¶
This section is empty.
Source Files
¶
- client.go
- lease.go
- listener.go
Click to show internal directories.
Click to hide internal directories.