Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiError ¶
type ApiError interface { InternalServerError(ktx kontext.Context) jsonapi.Option BadRequestError(in string) jsonapi.Option NotFoundError(ktx kontext.Context, entityType string) jsonapi.Option ForbiddenError(ktx kontext.Context, entityType, reason string) jsonapi.Option ValidationError(msg string) jsonapi.Option }
type App ¶
type App interface { // TODO: Enable config via module package instead of cfg // Config() Config Controller() Controller }
type CommandController ¶
type Controller ¶
type Controller interface { InjectMetric(http ...MetricController) InjectHTTP(http ...HttpController) InjectCommand(command ...CommandController) InjectDownstream(downstream ...DownstreamController) ListDownstream() []DownstreamController ListMetric() []MetricController }
type DownstreamController ¶
type HttpController ¶
type MetricController ¶
type RouterPath ¶
Directories ¶
Path | Synopsis |
---|---|
Package mock is a generated GoMock package.
|
Package mock is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.