Directories
¶
| Path | Synopsis |
|---|---|
|
Package app manages the lifecycle of the components that make up a process.
|
Package app manages the lifecycle of the components that make up a process. |
|
client
|
|
|
grpcx
Package grpcx manages reusable outbound gRPC client connections.
|
Package grpcx manages reusable outbound gRPC client connections. |
|
cmd
|
|
|
jgo
command
|
|
|
Package errors defines errors that can be transported safely across service boundaries without exposing their internal causes.
|
Package errors defines errors that can be transported safely across service boundaries without exposing their internal causes. |
|
Package health provides HTTP liveness and readiness probes.
|
Package health provides HTTP liveness and readiness probes. |
|
internal
|
|
|
call
Package call implements contract-driven HTTP and gRPC debugging calls.
|
Package call implements contract-driven HTTP and gRPC debugging calls. |
|
command
Package command implements the JGO command-line interface.
|
Package command implements the JGO command-line interface. |
|
generator/protobuf
Package protobuf safely updates protobuf contracts and generates gRPC code.
|
Package protobuf safely updates protobuf contracts and generates gRPC code. |
|
generator/rpcbinding
Package rpcbinding connects shared generated protobuf modules to JGO services.
|
Package rpcbinding connects shared generated protobuf modules to JGO services. |
|
template
Package templatefs exposes the project templates embedded in the JGO binary.
|
Package templatefs exposes the project templates embedded in the JGO binary. |
|
Package logx provides structured, context-aware logging backed by slog.
|
Package logx provides structured, context-aware logging backed by slog. |
|
Package management provides a dedicated operational HTTP server.
|
Package management provides a dedicated operational HTTP server. |
|
Package metrics provides bounded-cardinality RED metrics for JGO transports.
|
Package metrics provides bounded-cardinality RED metrics for JGO transports. |
|
Package middleware contains composable net/http middleware primitives.
|
Package middleware contains composable net/http middleware primitives. |
|
accesslog
Package accesslog records one structured log entry for each HTTP request.
|
Package accesslog records one structured log entry for each HTTP request. |
|
bodylimit
Package bodylimit bounds HTTP request bodies before application decoding.
|
Package bodylimit bounds HTTP request bodies before application decoding. |
|
recovery
Package recovery converts handler panics into safe JSON errors.
|
Package recovery converts handler panics into safe JSON errors. |
|
security
Package security provides HTTP authentication and authorization middleware.
|
Package security provides HTTP authentication and authorization middleware. |
|
timeout
Package timeout limits HTTP handler execution and returns a standard JSON timeout response.
|
Package timeout limits HTTP handler execution and returns a standard JSON timeout response. |
|
traceid
Package traceid exposes trace and span identifiers stored in OpenTelemetry contexts and adds the current trace ID to HTTP responses.
|
Package traceid exposes trace and span identifiers stored in OpenTelemetry contexts and adds the current trace ID to HTTP responses. |
|
Package readiness aggregates required and optional dependency checks.
|
Package readiness aggregates required and optional dependency checks. |
|
Package response writes the standard JGO HTTP/JSON response envelope.
|
Package response writes the standard JGO HTTP/JSON response envelope. |
|
Package security defines infrastructure-neutral authentication and authorization contracts for JGO transports.
|
Package security defines infrastructure-neutral authentication and authorization contracts for JGO transports. |
|
server
|
|
|
grpcx
Package grpcx provides a gRPC server component for app.App.
|
Package grpcx provides a gRPC server component for app.App. |
|
httpx
Package httpx provides a safe net/http server component for app.App.
|
Package httpx provides a safe net/http server component for app.App. |
|
Package telemetry configures OpenTelemetry for JGO applications.
|
Package telemetry configures OpenTelemetry for JGO applications. |
Click to show internal directories.
Click to hide internal directories.