Documentation ¶
Index ¶
- type Gateway
- type GatewayOption
- func WithDefaultPlayground() GatewayOption
- func WithExecutor(e executor.Executor) GatewayOption
- func WithMerger(m merger.Merger) GatewayOption
- func WithPlanner(p planner.Planner) GatewayOption
- func WithPlaygroundProvider(pp playground.PlaygroundProvider) GatewayOption
- func WithQueryerFactory(f QueryerFactory) GatewayOption
- func WithRemoteSchemaIntrospector(i introspection.RemoteSchemaIntrospector) GatewayOption
- type QueryerFactory
- type Result
- type Results
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gateway ¶
type Gateway struct {
// contains filtered or unexported fields
}
func NewGateway ¶
func NewGateway(urls []string, options ...GatewayOption) (*Gateway, error)
type GatewayOption ¶
type GatewayOption func(*Gateway)
func WithDefaultPlayground ¶
func WithDefaultPlayground() GatewayOption
func WithExecutor ¶
func WithExecutor(e executor.Executor) GatewayOption
func WithMerger ¶
func WithMerger(m merger.Merger) GatewayOption
func WithPlanner ¶
func WithPlanner(p planner.Planner) GatewayOption
func WithPlaygroundProvider ¶
func WithPlaygroundProvider(pp playground.PlaygroundProvider) GatewayOption
func WithQueryerFactory ¶
func WithQueryerFactory(f QueryerFactory) GatewayOption
func WithRemoteSchemaIntrospector ¶
func WithRemoteSchemaIntrospector(i introspection.RemoteSchemaIntrospector) GatewayOption
type QueryerFactory ¶
type QueryerFactory func(*planner.PlanningContext, string) queryer.Queryer
Directories ¶
Path | Synopsis |
---|---|
IMPORTANT: this is all copy paste, but with some changes to fix data mutation, leading to race conditions in runtime
|
IMPORTANT: this is all copy paste, but with some changes to fix data mutation, leading to race conditions in runtime |
generally copy paste from nautilus/graphql
|
generally copy paste from nautilus/graphql |
Click to show internal directories.
Click to hide internal directories.