Categorygithub.com/tsingsun/woocoo/contrib/gql
modulepackage
0.0.2
Repository: https://github.com/tsingsun/woocoo.git
Documentation: pkg.go.dev

# Functions

CheckPermissions check the graphql operation permissions base on the package authz.
FromIncomingContext retrieves the gin.Context from the context.Context.
Middleware is a builder for initializing graphql handler, it is middleware for gin.
New create a graphql handler for middleware register.
RegisterGraphqlServer is a builder for initializing graphql servers, initialize order is based on the router group order.
RegisterMiddleware register a middleware to web server.
RegisterSchema is builder for initializing graphql schemas, initialize order is based on the router group order.
WrapOperationHandler wrap gin.HandlerFunc to graphql.OperationMiddleware.
WrapResponseHandler wrap gin.HandlerFunc to graphql.ResponseHandler.

# Structs

Handler for graphql.
Options handler option.