Versions in this module Expand all Collapse all v0 v0.2.0 Sep 27, 2026 Changes in this version + const DefaultBrandName + const RoleAdmin + const RoleMember + const RoleOwner + const SessionCookie + var Layout = web.Layout + var LoadConfig = config.Load + var MustOwnerFromContext = identity.MustFromContext + var NewSingleOwner = identity.NewSingleOwner + var NewStaticToken = identity.NewStaticToken + var OwnerFromContext = identity.FromContext + func NewLogger(debug bool) *slog.Logger + func Run(ctx context.Context, cfg Config, ov Overrides) error + func ServeHTTP(ctx context.Context, addr string, handler http.Handler, shutdown time.Duration, ...) error + type Accounts = account.Service + type Apps = app.Service + type Config = config.Config + type Crumb = web.Crumb + type DefaultSlots = web.DefaultSlots + type Engine struct + Accounts *Accounts + Apps *Apps + Config Config + Identity IdentityProvider + Keeper *Keeper + Log *slog.Logger + Mailer Mailer + Orchestrator Orchestrator + Pool *pgxpool.Pool + Server *Server + func New(ctx context.Context, cfg Config, ov Overrides) (*Engine, error) + func (e *Engine) Close() + func (e *Engine) Handler() http.Handler + func (e *Engine) Serve(ctx context.Context) error + func (e *Engine) Start(ctx context.Context) + type ExtraRoutes = web.ExtraRoutes + type IdentityProvider = identity.Provider + type Keeper = secret.Keeper + type Mailer = notify.Mailer + type Message = notify.Message + type NavGroup = web.NavGroup + type NavItem = web.NavItem + type Orchestrator = orchestrator.Orchestrator + type Overrides struct + AfterMigrate func(ctx context.Context, pool *pgxpool.Pool) error + Extra ExtraRoutes + Identity func(e *Engine) (IdentityProvider, error) + Logger *slog.Logger + Mailer Mailer + Orchestrator Orchestrator + Slots SlotProvider + Version string + type Owner = identity.Owner + type Role = account.Role + type Server = web.Server + type SlotProvider = web.SlotProvider + type SlotProviderFunc = web.SlotProviderFunc + type Slots = web.Slots