Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface {
Start(context.Context) error
Stop() error
RegisterHandlers() *httprouter.Router
}
Service is the transport-agnostic contract every node implements. It carries no auth (or any other cross-cutting) dependency: a service applies its own per-route concerns when it builds its router.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package auth resolves a credential to a caller identity.
|
Package auth resolves a credential to a caller identity. |
|
mock
Package mock is a generated GoMock package.
|
Package mock is a generated GoMock package. |
|
@title Checkout Orders Service API @version 1.0 @description API for managing inventory and orders @host localhost:8000 @BasePath /
|
@title Checkout Orders Service API @version 1.0 @description API for managing inventory and orders @host localhost:8000 @BasePath / |
|
mock
Package mock is a generated GoMock package.
|
Package mock is a generated GoMock package. |
|
Package worker provides the goroutine-lifecycle boilerplate shared by every background process in the app (the orders outbox relay, the notifier consume loop).
|
Package worker provides the goroutine-lifecycle boilerplate shared by every background process in the app (the orders outbox relay, the notifier consume loop). |
Click to show internal directories.
Click to hide internal directories.