Versions in this module Expand all Collapse all v0 v0.18.0 Oct 20, 2026 Changes in this version + const APIPrefix + const AppID + const BFFPrefix + const Prefix + const ReturnToPath + const SessionPath + var ErrNoSession = errors.New("console: no login session") + type App struct + ID string + Icon string + Name string + Order int + URL string + type Console struct + func New(o Options) (*Console, error) + func (c *Console) Close() error + func (c *Console) ServeHTTP(w http.ResponseWriter, r *http.Request) + type Options struct + Apps func(ctx context.Context) ([]App, error) + Connections *connections.Connections + Logger *slog.Logger + LoginPath string + Organizations func(ctx context.Context, principal uuid.UUID) ([]Organization, error) + Principal func(r *http.Request) (uuid.UUID, error) + ReturnTo func(raw string) (string, error) + SignOut func(w http.ResponseWriter, r *http.Request) error + WebDir string + type Organization struct + Apps map[string]string + ID string + Name string + Role string + Slug string + Type string