Directories ¶
Path | Synopsis |
---|---|
auth
|
|
Package circuitbreaker implements the circuit breaker pattern.
|
Package circuitbreaker implements the circuit breaker pattern. |
Package endpoint defines an abstraction for RPCs.
|
Package endpoint defines an abstraction for RPCs. |
examples
|
|
addsvc
Package addsvc is an example microservice, useful for education.
|
Package addsvc is an example microservice, useful for education. |
addsvc/client/grpc
Package grpc provides a gRPC client for the add service.
|
Package grpc provides a gRPC client for the add service. |
addsvc/client/http
Package http provides an HTTP client for the add service.
|
Package http provides an HTTP client for the add service. |
addsvc/client/thrift
Package thrift provides a Thrift client for the add service.
|
Package thrift provides a Thrift client for the add service. |
addsvc/pb
Package pb is a generated protocol buffer package.
|
Package pb is a generated protocol buffer package. |
profilesvc/client
Package client provides a profilesvc client based on a predefined Consul service name and relevant tags.
|
Package client provides a profilesvc client based on a predefined Consul service name and relevant tags. |
shipping/booking
Package booking provides the use-case of booking a cargo.
|
Package booking provides the use-case of booking a cargo. |
shipping/cargo
Package cargo contains the heart of the domain model.
|
Package cargo contains the heart of the domain model. |
shipping/handling
Package handling provides the use-case for registering incidents.
|
Package handling provides the use-case for registering incidents. |
shipping/inmem
Package inmem provides in-memory implementations of all the domain repositories.
|
Package inmem provides in-memory implementations of all the domain repositories. |
shipping/inspection
Package inspection provides means to inspect cargos.
|
Package inspection provides means to inspect cargos. |
shipping/location
Package location provides the Location aggregate.
|
Package location provides the Location aggregate. |
shipping/routing
Package routing provides the routing domain service.
|
Package routing provides the routing domain service. |
shipping/tracking
Package tracking provides the use-case of tracking a cargo.
|
Package tracking provides the use-case of tracking a cargo. |
shipping/voyage
Package voyage provides the Voyage aggregate.
|
Package voyage provides the Voyage aggregate. |
Package log provides a structured logger.
|
Package log provides a structured logger. |
level
Package level implements leveled logging on top of package log.
|
Package level implements leveled logging on top of package log. |
term
Package term provides tools for logging to a terminal.
|
Package term provides tools for logging to a terminal. |
Package metrics provides a framework for application instrumentation.
|
Package metrics provides a framework for application instrumentation. |
discard
Package discard provides a no-op metrics backend.
|
Package discard provides a no-op metrics backend. |
dogstatsd
Package dogstatsd provides a DogStatsD backend for package metrics.
|
Package dogstatsd provides a DogStatsD backend for package metrics. |
expvar
Package expvar provides expvar backends for metrics.
|
Package expvar provides expvar backends for metrics. |
generic
Package generic implements generic versions of each of the metric types.
|
Package generic implements generic versions of each of the metric types. |
graphite
Package graphite provides a Graphite backend for metrics.
|
Package graphite provides a Graphite backend for metrics. |
influx
Package influx provides an InfluxDB implementation for metrics.
|
Package influx provides an InfluxDB implementation for metrics. |
internal/ratemap
Package ratemap implements a goroutine-safe map of string to float64.
|
Package ratemap implements a goroutine-safe map of string to float64. |
multi
Package multi provides adapters that send observations to multiple metrics simultaneously.
|
Package multi provides adapters that send observations to multiple metrics simultaneously. |
prometheus
Package prometheus provides Prometheus implementations for metrics.
|
Package prometheus provides Prometheus implementations for metrics. |
provider
Package provider provides a factory-like abstraction for metrics backends.
|
Package provider provides a factory-like abstraction for metrics backends. |
statsd
Package statsd provides a StatsD backend for package metrics.
|
Package statsd provides a StatsD backend for package metrics. |
teststat
Package teststat provides helpers for testing metrics backends.
|
Package teststat provides helpers for testing metrics backends. |
Package sd provides utilities related to service discovery.
|
Package sd provides utilities related to service discovery. |
consul
Package consul provides subscriber and registrar implementations for Consul.
|
Package consul provides subscriber and registrar implementations for Consul. |
dnssrv
Package dnssrv provides a subscriber implementation for DNS SRV records.
|
Package dnssrv provides a subscriber implementation for DNS SRV records. |
etcd
Package etcd provides a Subscriber and Registrar implementation for etcd.
|
Package etcd provides a Subscriber and Registrar implementation for etcd. |
lb
Package lb implements the client-side load balancer pattern.
|
Package lb implements the client-side load balancer pattern. |
zk
Package zk provides subscriber and registrar implementations for ZooKeeper.
|
Package zk provides subscriber and registrar implementations for ZooKeeper. |
Package tracing provides helpers and bindings for distributed tracing.
|
Package tracing provides helpers and bindings for distributed tracing. |
opentracing
Package opentracing provides Go kit integration to the OpenTracing project.
|
Package opentracing provides Go kit integration to the OpenTracing project. |
Package transport contains bindings to concrete transports.
|
Package transport contains bindings to concrete transports. |
grpc
Package grpc provides a gRPC binding for endpoints.
|
Package grpc provides a gRPC binding for endpoints. |
grpc/_grpc_test/pb
Package pb is a generated protocol buffer package.
|
Package pb is a generated protocol buffer package. |
http
Package http provides a general purpose HTTP binding for endpoints.
|
Package http provides a general purpose HTTP binding for endpoints. |
httprp
Package httprp provides an HTTP reverse-proxy transport.
|
Package httprp provides an HTTP reverse-proxy transport. |
util
|
|
conn
Package conn provides utilities related to connections.
|
Package conn provides utilities related to connections. |
Click to show internal directories.
Click to hide internal directories.