Documentation
¶
Overview ¶
Package server exposes the GraphQL API over HTTP: POST /graphql, an embedded GraphiQL page, and health endpoints. The schema is swappable at runtime (watch mode): requests in flight keep the schema they started with.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
type Authenticator = auth.Authenticator
Authenticator turns an HTTP request into (claims, role); see pdbcore/auth.
func NewAuthenticator ¶
func NewAuthenticator(cfg config.RLS) *Authenticator
NewAuthenticator builds the request authenticator from the rls section.
Click to show internal directories.
Click to hide internal directories.