Versions in this module Expand all Collapse all v0 v0.1.0 Jun 24, 2026 Changes in this version + func RegisterResolver(name string, r Resolver) + func TenantID(ctx context.Context) string + type Resolver func(r *http.Request) string + type Service struct + func From(k *togo.Kernel) (*Service, bool) + func (s *Service) DB(ctx context.Context) (*sql.DB, error) + func (s *Service) Middleware(next http.Handler) http.Handler + type Tenant struct + CreatedAt string + DBDSN string + Domain string + ID string + Name string + Plan string + func CurrentTenant(ctx context.Context) (*Tenant, bool)