Documentation ¶
Index ¶
- type Gateway
- type GatewayOption
- func WithDefaultPlayground() GatewayOption
- func WithExecutor(e executor.Executor) GatewayOption
- func WithGetParentTypeFromIDFunc(fn executor.GetParentTypeFromIDFunc) 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 WithGetParentTypeFromIDFunc ¶ added in v0.1.16
func WithGetParentTypeFromIDFunc(fn executor.GetParentTypeFromIDFunc) 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
Click to show internal directories.
Click to hide internal directories.