comms

package
v0.0.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2019 License: BSD-2-Clause Imports: 14 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL