subgraph

package
v0.0.0-...-3fc25f8 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 14 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
	// contains filtered or unexported fields
}

func (*Resolver) Employee

func (r *Resolver) Employee() generated.EmployeeResolver

Employee returns generated.EmployeeResolver implementation.

func (*Resolver) Employees

func (r *Resolver) Employees(ctx context.Context, obj model.RoleType) ([]*model.Employee, error)

func (*Resolver) Engineer

func (r *Resolver) Engineer() generated.EngineerResolver

Engineer returns generated.EngineerResolver implementation.

func (*Resolver) Entity

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

Entity returns generated.EntityResolver implementation.

func (*Resolver) ErrorWrapper

func (r *Resolver) ErrorWrapper() generated.ErrorWrapperResolver

ErrorWrapper returns generated.ErrorWrapperResolver implementation.

func (*Resolver) Marketer

func (r *Resolver) Marketer() generated.MarketerResolver

Marketer returns generated.MarketerResolver implementation.

func (*Resolver) Mutation

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

Mutation returns generated.MutationResolver implementation.

func (*Resolver) Operator

func (r *Resolver) Operator() generated.OperatorResolver

Operator returns generated.OperatorResolver implementation.

func (*Resolver) Query

func (r *Resolver) Query() generated.QueryResolver

Query returns generated.QueryResolver implementation.

func (*Resolver) Subscription

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

Subscription returns generated.SubscriptionResolver implementation.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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