graphql

package
v1.10.0-rc.7 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2023 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

View Source
const (
	QueryOperation    bindings.OperationKind = "query"
	MutationOperation bindings.OperationKind = "mutation"
)

Variables

This section is empty.

Functions

func NewGraphQL

func NewGraphQL(logger logger.Logger) bindings.OutputBinding

NewGraphQL returns a new GraphQL binding instance.

Types

type GraphQL

type GraphQL struct {
	// contains filtered or unexported fields
}

GraphQL represents GraphQL output bindings.

func (*GraphQL) Init

func (gql *GraphQL) Init(metadata bindings.Metadata) error

Init initializes the GraphQL binding.

func (*GraphQL) Invoke

Invoke handles all invoke operations.

func (*GraphQL) Operations

func (gql *GraphQL) Operations() []bindings.OperationKind

Operations returns list of operations supported by GraphQL binding.

Jump to

Keyboard shortcuts

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