services

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2026 License: MIT Imports: 2 Imported by: 0

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).

Jump to

Keyboard shortcuts

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