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. |
|
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. |
|
template
Package templatefs exposes the project templates embedded in the JGO binary.
|
Package templatefs exposes the project templates embedded in the JGO binary. |
|
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. |
|
recovery
Package recovery converts handler panics into safe JSON errors.
|
Package recovery converts handler panics into safe JSON errors. |
|
requestid
Package requestid propagates or creates a safe request identifier.
|
Package requestid propagates or creates a safe request identifier. |
|
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. |
|
Package response writes the standard JGO HTTP/JSON response envelope.
|
Package response writes the standard JGO HTTP/JSON response envelope. |
|
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. |
Click to show internal directories.
Click to hide internal directories.