subgraph

package
v0.0.0-...-4acccc1 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TestOptions = EndpointOptions{
	EnableDebug: false,
}

Functions

func GraphQLEndpointHandler

func GraphQLEndpointHandler(opts EndpointOptions) http.Handler

func NewAvailabilityStorage

func NewAvailabilityStorage() *availabilityStorage

Types

type EndpointOptions

type EndpointOptions struct {
	EnableDebug bool
}

type Resolver

type Resolver struct {
	NatsPubSubByProviderID map[string]pubsub_datasource.NatsPubSub
}

func (*Resolver) Entity

func (r *Resolver) Entity() generated.EntityResolver

Entity returns generated.EntityResolver implementation.

func (*Resolver) Mutation

func (r *Resolver) Mutation() generated.MutationResolver

Mutation returns generated.MutationResolver implementation.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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