graphql

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

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 New

func New(config *types.Config, resources *cloud.CloudContextList, region, endpoint string) (*GraphQL, error)

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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