pkg/

directory
v1.141.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2026 License: MIT

Directories

Path Synopsis
Package boot is the framework layer for this repo: every server implements the Service contract below, and pkg/boot/grpcserver and pkg/boot/httpserver build one from a service's handlers plus a declarative Config, so a service package never touches net.Listen, grpc.NewServer, or an interceptor chain directly.
Package boot is the framework layer for this repo: every server implements the Service contract below, and pkg/boot/grpcserver and pkg/boot/httpserver build one from a service's handlers plus a declarative Config, so a service package never touches net.Listen, grpc.NewServer, or an interceptor chain directly.
grpcserver
Package grpcserver builds the gRPC transport every service in this repo runs on: the interceptor chain, server reflection, the standard gRPC health service, and the Serve/Shutdown lifecycle pkg/boot.Service expects.
Package grpcserver builds the gRPC transport every service in this repo runs on: the interceptor chain, server reflection, the standard gRPC health service, and the Serve/Shutdown lifecycle pkg/boot.Service expects.
httpserver
Package httpserver builds the HTTP transport every service in this repo runs on: CORS, access logging with correlation IDs, panic recovery, and the Serve/Shutdown lifecycle pkg/boot.Service expects.
Package httpserver builds the HTTP transport every service in this repo runs on: CORS, access logging with correlation IDs, panic recovery, and the Serve/Shutdown lifecycle pkg/boot.Service expects.
Package buildinfo holds version metadata baked into the binary at build time via linker -X flags (see .goreleaser.yml and scripts/build.sh).
Package buildinfo holds version metadata baked into the binary at build time via linker -X flags (see .goreleaser.yml and scripts/build.sh).
bind
Package bind maps a config loaded from YAML onto RuntimeConfig.
Package bind maps a config loaded from YAML onto RuntimeConfig.
configtest
Package configtest holds the iam assembly profile the loader and binder tests start from, and the edits that turn it into its variants.
Package configtest holds the iam assembly profile the loader and binder tests start from, and the edits that turn it into its variants.
internal
serviceauth module
Package telemetry provides the common, service-agnostic observability setup shared by every Go service in this repo: one Prometheus registry (via LabKit v2), an HTTP surface to expose it, generic helpers for timing an operation into a histogram, and the tracer (see tracing.go).
Package telemetry provides the common, service-agnostic observability setup shared by every Go service in this repo: one Prometheus registry (via LabKit v2), an HTTP surface to expose it, generic helpers for timing an operation into a histogram, and the tracer (see tracing.go).
db
grpc
Package grpctelemetry provides generic, Prometheus-native gRPC server metrics for any service in this repo.
Package grpctelemetry provides generic, Prometheus-native gRPC server metrics for any service in this repo.
http
Package httptelemetry provides generic, Prometheus-native HTTP server metrics for any service in this repo.
Package httptelemetry provides generic, Prometheus-native HTTP server metrics for any service in this repo.
tokenauth module
userauth module

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL