internal/

directory
v0.0.0-...-85648f4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2026 License: AGPL-3.0

Directories

Path Synopsis
Package audit provides a thin helper for appending workspace-scoped audit log entries via the sqlc-generated AppendAuditLog query.
Package audit provides a thin helper for appending workspace-scoped audit log entries via the sqlc-generated AppendAuditLog query.
Package auth provides a GitHub OAuth2 client for login.
Package auth provides a GitHub OAuth2 client for login.
sessadapter
Package sessadapter bridges auth-api's sqlc-generated session queries to the shared sessionstore.SessionQueries interface.
Package sessadapter bridges auth-api's sqlc-generated session queries to the shared sessionstore.SessionQueries interface.
Package config loads runtime configuration from NF_* environment variables.
Package config loads runtime configuration from NF_* environment variables.
db
types
Package types re-exports the shared PublicID type so that sqlc-generated code continues to compile without changes to sqlc.yaml overrides.
Package types re-exports the shared PublicID type so that sqlc-generated code continues to compile without changes to sqlc.yaml overrides.
http
errormodel
Package errormodel installs the request-validation error model the service answers with.
Package errormodel installs the request-validation error model the service answers with.
handlers/admin
Package admin contains Huma operation handlers for the instance administration panel: user management, workspace management, session oversight, audit log viewing, instance admin grants, and settings.
Package admin contains Huma operation handlers for the instance administration panel: user management, workspace management, session oversight, audit log viewing, instance admin grants, and settings.
handlers/auth
Change-password handler for /settings/security.
Change-password handler for /settings/security.
handlers/handlerutil
Package handlerutil — duplicate-entry detection helper for auth-api handlers.
Package handlerutil — duplicate-entry detection helper for auth-api handlers.
handlers/integrations
Package integrations contains Huma handlers for the personal integrations area under /me/integrations and the public /oauth/callback/{provider} endpoint.
Package integrations contains Huma handlers for the personal integrations area under /me/integrations and the public /oauth/callback/{provider} endpoint.
handlers/workspace
Package workspace contains Huma operation handlers for the /workspaces, /workspaces/{wsId}/members, and invite endpoints.
Package workspace contains Huma operation handlers for the /workspaces, /workspaces/{wsId}/members, and invite endpoints.
middleware
Package middleware contains chi-compatible HTTP middlewares for the auth-api service, including authentication and ACL (access control list) enforcement.
Package middleware contains chi-compatible HTTP middlewares for the auth-api service, including authentication and ACL (access control list) enforcement.
router
Package router assembles the auth-api HTTP router.
Package router assembles the auth-api HTTP router.
Package integrations implements the personal OAuth flow for per-user GitHub / Slack / Google Calendar connections used by /settings/integrations.
Package integrations implements the personal OAuth flow for per-user GitHub / Slack / Google Calendar connections used by /settings/integrations.
Package log holds structured-logging helpers for auth-api.
Package log holds structured-logging helpers for auth-api.
Package obs holds the auth-api observability facilities: the HTTP middleware that feeds the Prometheus collectors and the handler that exposes them.
Package obs holds the auth-api observability facilities: the HTTP middleware that feeds the Prometheus collectors and the handler that exposes them.
Package storage wraps an S3-compatible object store (MinIO / AWS S3) for the auth-api avatar-upload endpoints.
Package storage wraps an S3-compatible object store (MinIO / AWS S3) for the auth-api avatar-upload endpoints.
Package teardown holds the shared destructive-delete pipelines used by the workspace owner self-delete handler (DELETE /workspaces/{wsId}) and the admin force-delete handlers (DELETE /admin/workspaces/{wsId}, DELETE /admin/users/{userId}).
Package teardown holds the shared destructive-delete pipelines used by the workspace owner self-delete handler (DELETE /workspaces/{wsId}) and the admin force-delete handlers (DELETE /admin/workspaces/{wsId}, DELETE /admin/users/{userId}).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL