subgraph

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

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

Go to latest
Published: Dec 18, 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

Types

type EndpointOptions

type EndpointOptions struct {
	EnableDebug bool
}

type Resolver

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

func (*Resolver) Employees

func (r *Resolver) Employees(hobby model.Hobby) ([]*model.Employee, error)

func (*Resolver) Entity

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

Entity returns generated.EntityResolver implementation.

func (*Resolver) Exercise

func (r *Resolver) Exercise() generated.ExerciseResolver

Exercise returns generated.ExerciseResolver implementation.

func (*Resolver) Flying

func (r *Resolver) Flying() generated.FlyingResolver

Flying returns generated.FlyingResolver implementation.

func (*Resolver) Gaming

func (r *Resolver) Gaming() generated.GamingResolver

Gaming returns generated.GamingResolver implementation.

func (*Resolver) Other

func (r *Resolver) Other() generated.OtherResolver

Other returns generated.OtherResolver implementation.

func (*Resolver) Programming

func (r *Resolver) Programming() generated.ProgrammingResolver

Programming returns generated.ProgrammingResolver implementation.

func (*Resolver) Subscription

func (r *Resolver) Subscription() generated.SubscriptionResolver

Subscription returns generated.SubscriptionResolver implementation.

func (*Resolver) Travelling

func (r *Resolver) Travelling() generated.TravellingResolver

Travelling returns generated.TravellingResolver implementation.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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