Documentation ¶
Overview ¶
Package socket implements a simple server that copies line buffered content from a socket to stdout.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetAuxAddress ¶
SetAuxAddress will set the address for the metrics listener.
func SetTCPAddress ¶
SetTCPAddress will set the TCP address to accept line oriented data. Only TCP or Unix address may be set. If both are set, Unix takes precedence.
func SetUnixAddress ¶
SetUnixAddress will set the Unix address to accept line oriented data. Only TCP or Unix address may be set. If both are set, Unix takes precedence.
Types ¶
type OptionsFunc ¶
OptionsFunc is a function passed to new for setting options on a new server.
Click to show internal directories.
Click to hide internal directories.