pkg/

directory
v1.54.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 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, 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, and the Serve/Shutdown lifecycle pkg/boot.Service expects.
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.
tokenauth module
userauth module

Jump to

Keyboard shortcuts

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