Directories ¶
Path | Synopsis |
---|---|
Package app contains methods for configuring a command-line application.
|
Package app contains methods for configuring a command-line application. |
Package closers contains utilities for dealing with io.Closer implementations
|
Package closers contains utilities for dealing with io.Closer implementations |
cmd
|
|
Package cron contains methods for running actions as cron jobs.
|
Package cron contains methods for running actions as cron jobs. |
Package distance contains methods for working with distances, primarily in lat/long formats.
|
Package distance contains methods for working with distances, primarily in lat/long formats. |
Package environment contains utilities for interacting with the application's environment.
|
Package environment contains utilities for interacting with the application's environment. |
Package event contains utilities for interacting with various event-stream providers.
|
Package event contains utilities for interacting with various event-stream providers. |
Package flag contains types that represent typed command-line flags.
|
Package flag contains types that represent typed command-line flags. |
Package health contains helpers for constructing health checks.
|
Package health contains helpers for constructing health checks. |
Package logging contains utilities for writing logs.
|
Package logging contains utilities for writing logs. |
Package metrics contains helpers for exposing operational metrics for the application.
|
Package metrics contains helpers for exposing operational metrics for the application. |
Package middleware contains mux.MiddlewareFunc implementations that are used as HTTP router middlewares.
|
Package middleware contains mux.MiddlewareFunc implementations that are used as HTTP router middlewares. |
Package monitoring contains helpers for application monitoring.
|
Package monitoring contains helpers for application monitoring. |
Package multierror provides a mechanism for representing a list of error values as a single error.
|
Package multierror provides a mechanism for representing a list of error values as a single error. |
Package period contains extensions for time.Duration to represent days and months.
|
Package period contains extensions for time.Duration to represent days and months. |
Package queue contains a simple job queue implementation for running concurrent jobs.
|
Package queue contains a simple job queue implementation for running concurrent jobs. |
Package random contains utilities for generating random things.
|
Package random contains utilities for generating random things. |
Package requestid is used to add/extract a request identifier to/from a context.Context.
|
Package requestid is used to add/extract a request identifier to/from a context.Context. |
Package retry contains utilities for performing retries when functions return errors.
|
Package retry contains utilities for performing retries when functions return errors. |
Package server contains utilities for managing different kinds of servers.
|
Package server contains utilities for managing different kinds of servers. |
storage
|
|
blob
Package blob is used to read/write data from blob stores.
|
Package blob is used to read/write data from blob stores. |
database
Package database contains utilities for interacting with databases.
|
Package database contains utilities for interacting with databases. |
database/badger
Package badger provides an instrumented wrapper around a badger database.
|
Package badger provides an instrumented wrapper around a badger database. |
database/postgres
Package postgres is used to perform operations against postgres databases
|
Package postgres is used to perform operations against postgres databases |
database/sqlite
Package sqlite is used to perform operations against sqlite databases
|
Package sqlite is used to perform operations against sqlite databases |
Package testutil contains utility methods for use in tests
|
Package testutil contains utility methods for use in tests |
Package tracing contains orchestration code for opentracing.
|
Package tracing contains orchestration code for opentracing. |
Package transport contains utility methods for API interfaces that speak to clients
|
Package transport contains utility methods for API interfaces that speak to clients |
Click to show internal directories.
Click to hide internal directories.