Versions in this module Expand all Collapse all v0 v0.7.0 Oct 15, 2026 v0.6.0 Sep 26, 2026 Changes in this version + func Protect(handler http.Handler, publicPaths []string, ...) http.Handler + type Host struct + func NewHost(plugins ...Plugin) *Host + func (h *Host) Migrate(ctx context.Context) error + func (h *Host) PublicPaths() map[string][]string + func (h *Host) Routes() map[string]http.Handler + func (h *Host) Seed(ctx context.Context) error + func (h *Host) Start(ctx context.Context, stopGrace time.Duration) error + func (h *Host) Stop(ctx context.Context) error + type Migrator interface + Migrate func(ctx context.Context) error + type Plugin interface + ID func() string + Start func(ctx context.Context) error + Stop func(ctx context.Context) error + type PublicPathProvider interface + PublicPaths func() []string + type RouteProvider interface + Routes func() http.Handler + type Seeder interface + Seed func(ctx context.Context) error