server

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2021 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewQueryer

func NewQueryer(pm generator.Registry, caller Caller) graphql.Queryer

func NewReflectCaller

func NewReflectCaller(endpoints []string) (*caller, []*desc.FileDescriptor, []string, error)

Types

type Caller

type Caller interface {
	Call(ctx context.Context, svc *desc.ServiceDescriptor, rpc *desc.MethodDescriptor, message proto.Message) (proto.Message, error)
}

type QueryerLogger

type QueryerLogger struct {
	Next graphql.Queryer
}

func (QueryerLogger) Query

func (q QueryerLogger) Query(ctx context.Context, input *graphql.QueryInput, i interface{}) (err error)

Jump to

Keyboard shortcuts

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