Documentation ¶
Index ¶
- Constants
- func ConfigJson(config Configuration) json.RawMessage
- type Configuration
- type Factory
- type FederationConfiguration
- type FetchConfiguration
- type Planner
- func (p *Planner) ConfigureFetch() plan.FetchConfiguration
- func (p *Planner) ConfigureSubscription() plan.SubscriptionConfiguration
- func (p *Planner) DataSourcePlanningBehavior() plan.DataSourcePlanningBehavior
- func (p *Planner) DownstreamResponseFieldAlias(downstreamFieldRef int) (alias string, exists bool)
- func (p *Planner) EnterArgument(ref int)
- func (p *Planner) EnterDocument(operation, definition *ast.Document)
- func (p *Planner) EnterField(ref int)
- func (p *Planner) EnterInlineFragment(ref int)
- func (p *Planner) EnterOperationDefinition(ref int)
- func (p *Planner) EnterSelectionSet(ref int)
- func (p *Planner) LeaveDocument(operation, definition *ast.Document)
- func (p *Planner) LeaveField(ref int)
- func (p *Planner) LeaveInlineFragment(ref int)
- func (p *Planner) LeaveOperationDefinition(ref int)
- func (p *Planner) LeaveSelectionSet(ref int)
- func (p *Planner) Register(visitor *plan.Visitor, config json.RawMessage, isNested bool) error
- type Source
- type SubscriptionConfiguration
Constants ¶
View Source
const (
UniqueIdentifier = "graphql"
)
Variables ¶
This section is empty.
Functions ¶
func ConfigJson ¶
func ConfigJson(config Configuration) json.RawMessage
Types ¶
type Configuration ¶
type Configuration struct { Fetch FetchConfiguration Subscription SubscriptionConfiguration Federation FederationConfiguration }
func (*Configuration) ApplyDefaults ¶
func (c *Configuration) ApplyDefaults()
type Factory ¶
type Factory struct { Client httpclient.Client // contains filtered or unexported fields }
func (*Factory) Planner ¶
func (f *Factory) Planner() plan.DataSourcePlanner
type FederationConfiguration ¶
type FetchConfiguration ¶
type Planner ¶
type Planner struct {
// contains filtered or unexported fields
}
func (*Planner) ConfigureFetch ¶
func (p *Planner) ConfigureFetch() plan.FetchConfiguration
func (*Planner) ConfigureSubscription ¶
func (p *Planner) ConfigureSubscription() plan.SubscriptionConfiguration
func (*Planner) DataSourcePlanningBehavior ¶
func (p *Planner) DataSourcePlanningBehavior() plan.DataSourcePlanningBehavior
func (*Planner) DownstreamResponseFieldAlias ¶
func (*Planner) EnterArgument ¶
func (*Planner) EnterDocument ¶
func (*Planner) EnterField ¶
func (*Planner) EnterInlineFragment ¶
func (*Planner) EnterOperationDefinition ¶
func (*Planner) EnterSelectionSet ¶
func (*Planner) LeaveDocument ¶
func (*Planner) LeaveField ¶
func (*Planner) LeaveInlineFragment ¶
func (*Planner) LeaveOperationDefinition ¶
func (*Planner) LeaveSelectionSet ¶
type Source ¶
type Source struct {
// contains filtered or unexported fields
}
func (*Source) UniqueIdentifier ¶
type SubscriptionConfiguration ¶
type SubscriptionConfiguration struct {
URL string
}
Click to show internal directories.
Click to hide internal directories.