Versions in this module Expand all Collapse all v0 v0.0.0 Jul 11, 2020 Changes in this version + var ErrForbidden = errors.New("forbidden") + var ErrInternal = errors.New("internal system error") + var ErrInvalid = errors.New("validation failed") + var ErrNotFound = errors.New("not found") + var ErrTemporaryDisabled = errors.New("temporary disabled") + var ErrTimeout = errors.New("timeout") + var ErrUnauthorized = errors.New("access denied") + type Adapter interface + Start func(ctx context.Context) error + Stop func(ctx context.Context) error + type App struct + func New(logger *log.Logger) *App + func (app *App) AddAdapters(adapters ...Adapter) + func (app *App) Run(ctx context.Context) + func (app *App) WithShutdownTimeout(timeout time.Duration) + type DebugAdapter struct + func NewDebugAdapter(address string) *DebugAdapter + func (adapter *DebugAdapter) Start(ctx context.Context) error + func (adapter *DebugAdapter) Stop(ctx context.Context) error