Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartServer ¶
StartServer wires the GraphQL handler behind CORS and the auth middleware, and blocks until SIGTERM/Interrupt.
Middleware order is deliberate: CORS first so preflight OPTIONS short-circuit before auth runs; auth second so every GraphQL request carries an identity.
Types ¶
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
Resolver is the root resolver. It holds the app core and nothing else; resolvers gate on auth and delegate, keeping all logic in app.
func NewResolver ¶
func (*Resolver) Mutation ¶ added in v3.2.0
func (r *Resolver) Mutation() generated.MutationResolver
Mutation returns generated.MutationResolver implementation.
func (*Resolver) Query ¶
func (r *Resolver) Query() generated.QueryResolver
Query returns generated.QueryResolver implementation.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.