Documentation
¶
There is no documentation for this package.
Directories
¶
| Path | Synopsis |
|---|---|
|
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 httpf holds small helpers for writing HTTP handler responses that stay consistent with the service's OpenTelemetry tracing and structured logging: every outcome is recorded on the request span so handlers report success and failure the same way.
|
Package httpf holds small helpers for writing HTTP handler responses that stay consistent with the service's OpenTelemetry tracing and structured logging: every outcome is recorded on the request span so handlers report success and failure the same way. |
|
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 provides ready-made implementations of the logging package interfaces for the two environments a service runs in: Google Cloud and local development.
|
Package loggingpresets provides ready-made implementations of the logging package interfaces for the two environments a service runs in: Google Cloud and local development. |
|
Package smtp sends templated transactional email through a pluggable Sender.
|
Package smtp sends templated transactional email through a pluggable Sender. |
|
smtptest
Package smtptest provides an in-memory smtp.Sender for unit and integration tests.
|
Package smtptest provides an in-memory smtp.Sender for unit and integration 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 [transaction.Transactor] for unit tests.
|
Package transactiontest provides an in-memory [transaction.Transactor] for unit tests. |
Click to show internal directories.
Click to hide internal directories.