Directories ¶
Path | Synopsis |
---|---|
api
Package api provides the HTTP api.
|
Package api provides the HTTP api. |
Package assert provides a simple assert framework.
|
Package assert provides a simple assert framework. |
demo
|
|
server
Package server provides a sample HTTP/Websocket server which registers itself in consul using one or more url prefixes to demonstrate and test the automatic fabio routing table update.
|
Package server provides a sample HTTP/Websocket server which registers itself in consul using one or more url prefixes to demonstrate and test the automatic fabio routing table update. |
wsclient
Package wsclient implements a simple web socket client which reads lines from stdin and sends them to the websocket url.
|
Package wsclient implements a simple web socket client which reads lines from stdin and sends them to the websocket url. |
Package exit allows to register callbacks which are called on program exit.
|
Package exit allows to register callbacks which are called on program exit. |
Package logger implements a configurable access logger.
|
Package logger implements a configurable access logger. |
Package metrics provides functions for collecting and managing metrics through different metrics libraries.
|
Package metrics provides functions for collecting and managing metrics through different metrics libraries. |
gzip
Package gzip provides an HTTP handler which compresses responses if the client supports this, the response is compressable and not already compressed.
|
Package gzip provides an HTTP handler which compresses responses if the client supports this, the response is compressable and not already compressed. |
file
Package file implements a simple file based registry backend which reads the routes from a file once.
|
Package file implements a simple file based registry backend which reads the routes from a file once. |
static
Package static implements a simple static registry backend which uses statically configured routes.
|
Package static implements a simple static registry backend which uses statically configured routes. |
Click to show internal directories.
Click to hide internal directories.