graphql

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package graphql provides GraphQL upstream integration.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGraphQLUpstream

func NewGraphQLUpstream() upstream.Upstream

NewGraphQLUpstream creates a new GraphQL upstream.

Types

type Callable

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

Callable implements the Callable interface for GraphQL queries.

func (*Callable) Call

func (c *Callable) Call(ctx context.Context, req *tool.ExecutionRequest) (any, error)

Call executes the GraphQL query.

Jump to

Keyboard shortcuts

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