Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Authentication ¶
type Authentication struct {
Tls *Tls `json:"tls" yaml:"tls"`
}
type Caller ¶
type Caller interface {
Call(ctx context.Context, rpc *desc.MethodDescriptor, message proto.Message) (proto.Message, error)
}
func NewReflectCaller ¶
func NewReflectCaller(config *Grpc) (_ Caller, descs []*desc.FileDescriptor, err error)
type Config ¶
type Config struct { Grpc *Grpc `json:"grpc" yaml:"grpc"` Cors *cors.Options `json:"cors" yaml:"cors"` Playground *bool `json:"playground" yaml:"playground"` Address string `json:"address" yaml:"address"` Tls *Tls `json:"tls" yaml:"tls"` }
func DefaultConfig ¶
func DefaultConfig() *Config
type QueryerLogger ¶
func (QueryerLogger) Query ¶
func (q QueryerLogger) Query(ctx context.Context, input *graphql.QueryInput, i interface{}) (err error)
Click to show internal directories.
Click to hide internal directories.