Documentation
¶
There is no documentation for this package.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
service-token-issuer
command
Command service-token-issuer stands in for a Kubernetes cluster's service-account issuer in a local stack, such as a compose file.
|
Command service-token-issuer stands in for a Kubernetes cluster's service-account issuer in a local stack, such as a compose file. |
|
Package config reads service configuration from environment variables, mapping raw strings to native Go types through composable parser functions.
|
Package config reads service configuration from environment variables, mapping raw strings to native Go types through composable parser functions. |
|
Package downtime lets a service honor a planned downtime: from its start, the service refuses every request except liveness and leaves its database alone.
|
Package downtime lets a service honor a planned downtime: from its start, the service refuses every request except liveness and leaves its database alone. |
|
Package grpcf holds the gRPC glue a service needs on both sides of the wire, as httpf does for HTTP.
|
Package grpcf holds the gRPC glue a service needs on both sides of the wire, as httpf does for HTTP. |
|
Package httpf holds the HTTP glue a service needs on both sides of the wire.
|
Package httpf holds the HTTP glue a service needs on both sides of the wire. |
|
httpftest
Package httpftest scripts an HTTP server for testing outbound calls.
|
Package httpftest scripts an HTTP server for testing outbound calls. |
|
internal
|
|
|
tlstest
Package tlstest signs the certificates golib's TLS tests serve, as cert-manager's CA issuer does in a cluster.
|
Package tlstest signs the certificates golib's TLS tests serve, as cert-manager's CA issuer does in a cluster. |
|
Package logging defines the logging contracts a service wires into its HTTP and gRPC servers.
|
Package logging defines the logging contracts a service wires into its HTTP and gRPC servers. |
|
presets
Package loggingpresets implements the logging contracts for the two environments a service runs in.
|
Package loggingpresets implements the logging contracts for the two environments a service runs in. |
|
Package otel installs an OpenTelemetry backend as the process-global state, and reports the outcome of each operation on its span.
|
Package otel installs an OpenTelemetry backend as the process-global state, and reports the outcome of each operation on its span. |
|
presets
Package otelpresets provides ready-made github.com/a-novel-kit/golib/otel.Config backends, one per destination a service exports its traces and logs to.
|
Package otelpresets provides ready-made github.com/a-novel-kit/golib/otel.Config backends, one per destination a service exports its traces and logs to. |
|
Package picture checks the pictures users upload for a service to store and show, such as a profile picture or a project logo.
|
Package picture checks the pictures users upload for a service to store and show, such as a profile picture or a project logo. |
|
Package postgres carries a PostgreSQL connection on the request context, runs work inside transactions installed on that context, and applies migrations.
|
Package postgres carries a PostgreSQL connection on the request context, runs work inside transactions installed on that context, and applies migrations. |
|
postgrestest
Package postgrestest provides PostgreSQL test harnesses backed by postgres.
|
Package postgrestest provides PostgreSQL test harnesses backed by postgres. |
|
presets
Package postgrespresets builds the PostgreSQL connection pools behind github.com/a-novel-kit/golib/postgres.Config, from a URL or from discrete connection settings.
|
Package postgrespresets builds the PostgreSQL connection pools behind github.com/a-novel-kit/golib/postgres.Config, from a URL or from discrete connection settings. |
|
Package servertls serves TLS from a key pair renewed on disk, such as a certificate cert-manager keeps current in a Kubernetes Secret the kubelet mounts.
|
Package servertls serves TLS from a key pair renewed on disk, such as a certificate cert-manager keeps current in a Kubernetes Secret the kubelet mounts. |
|
Package servicetoken authenticates calls between services with service tokens.
|
Package servicetoken authenticates calls between services with service tokens. |
|
servicetokentest
Package servicetokentest runs a Kubernetes service-account issuer for tests and local stacks.
|
Package servicetokentest runs a Kubernetes service-account issuer for tests and local stacks. |
|
Package smtp sends templated transactional email through a Sender.
|
Package smtp sends templated transactional email through a Sender. |
|
smtptest
Package smtptest provides an in-memory smtp.Sender for tests.
|
Package smtptest provides an in-memory smtp.Sender for tests. |
|
Package transaction declares the scope a unit of work runs in, independently of what stores it.
|
Package transaction declares the scope a unit of work runs in, independently of what stores it. |
|
transactiontest
Package transactiontest provides an in-memory github.com/a-novel-kit/golib/transaction.Transactor for unit tests.
|
Package transactiontest provides an in-memory github.com/a-novel-kit/golib/transaction.Transactor for unit tests. |
|
Package worker holds the loops a service runs in the background, beside the request path.
|
Package worker holds the loops a service runs in the background, beside the request path. |
Click to show internal directories.
Click to hide internal directories.