Directories ¶
Path | Synopsis |
---|---|
Package cfg provides configuration options that are loaded from the environment.
|
Package cfg provides configuration options that are loaded from the environment. |
examples
|
|
mapstructure
Sample program to show how to use the mapstructure package to handle large JSON documents and flatten them out.
|
Sample program to show how to use the mapstructure package to handle large JSON documents and flatten them out. |
pool
Sample program to show how to use the pool package to build pools of goroutines to get work done.
|
Sample program to show how to use the pool package to build pools of goroutines to get work done. |
runner
Sample program to show how to use the runner package to build tasks that must run within a well defined duration.
|
Sample program to show how to use the runner package to build tasks that must run within a well defined duration. |
tcp
Sample program to show how to use the tcp package to build servers that can accept tcp connections and send messages.
|
Sample program to show how to use the tcp package to build servers that can accept tcp connections and send messages. |
udp
Sample program to show how to use the udp package to build servers that can accept udp connections and send messages.
|
Sample program to show how to use the udp package to build servers that can accept udp connections and send messages. |
web/cmd/app
This program provides a sample web service that implements a RESTFul CRUD API against a MongoDB database.
|
This program provides a sample web service that implements a RESTFul CRUD API against a MongoDB database. |
web/cmd/app/handlers
Package handlers contains the handler logic for processing requests.
|
Package handlers contains the handler logic for processing requests. |
Package log provides a simple layer above the standard library logging package.
|
Package log provides a simple layer above the standard library logging package. |
Package mapstructure is a Go library for decoding generic map values to structures and vice versa, while providing helpful error handling.
|
Package mapstructure is a Go library for decoding generic map values to structures and vice versa, while providing helpful error handling. |
Package pool manages a pool of routines to perform work.
|
Package pool manages a pool of routines to perform work. |
Package runner provide support for writing tasks that must complete within a certain duration or they must be killed.
|
Package runner provide support for writing tasks that must complete within a certain duration or they must be killed. |
Package tcp provides the boilerpale code for working with TCP based data.
|
Package tcp provides the boilerpale code for working with TCP based data. |
Package tests provides the generic support all tests require.
|
Package tests provides the generic support all tests require. |
Package timezone provides two ways to retrieve the timezone for any latitude,longitude position.
|
Package timezone provides two ways to retrieve the timezone for any latitude,longitude position. |
Package udp provides the boilerpale code for working with UDP based data.
|
Package udp provides the boilerpale code for working with UDP based data. |
Package web provides a thin layer of support for writing web services.
|
Package web provides a thin layer of support for writing web services. |
Click to show internal directories.
Click to hide internal directories.