Documentation
¶
Index ¶
- type GraphQL
- func (g *GraphQL) NewHandler(pretty bool, middlewares ...middleware.Middleware) http.Handler
- func (g *GraphQL) ToAmazonALB(handle http.Handler) *httpadapter.HandlerAdapterALB
- func (g *GraphQL) ToAmazonAPIGateway(handle http.Handler) *httpadapter.HandlerAdapter
- func (g *GraphQL) ToAmazonAPIGatewayV2(handle http.Handler) *httpadapter.HandlerAdapterV2
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GraphQL ¶
type GraphQL struct {
AccessToken *string `json:"token"`
Config types.Config `json:"config"`
Resolver *graph.Resolver `json:"resolver"`
Schema *gp.Schema `json:"schema"`
// contains filtered or unexported fields
}
func (*GraphQL) NewHandler ¶
func (g *GraphQL) NewHandler(pretty bool, middlewares ...middleware.Middleware) http.Handler
func (*GraphQL) ToAmazonALB ¶
func (g *GraphQL) ToAmazonALB(handle http.Handler) *httpadapter.HandlerAdapterALB
func (*GraphQL) ToAmazonAPIGateway ¶
func (g *GraphQL) ToAmazonAPIGateway(handle http.Handler) *httpadapter.HandlerAdapter
func (*GraphQL) ToAmazonAPIGatewayV2 ¶
func (g *GraphQL) ToAmazonAPIGatewayV2(handle http.Handler) *httpadapter.HandlerAdapterV2
Click to show internal directories.
Click to hide internal directories.