# Functions
ApplyEncoders transform parameter values with encoder functions applied into a Resource collection with the values processed.
ApplyModifiers transforms an unresolved Resources collection and set the query level cache directives into each statement without cache directives.
GetEmptyChainedParams returns the chain parameters that could not be resolved.
MakeRequest builds a HTTPRequest from a statement.
MultiplexStatements creates a statement for each value in a list parameter value.
NewDoneResource constructs a DoneResourceOptions value.
NewEmptyChainedResponse builds a DoneResource for a statement with unresolved chain parameters.
NewErrorResponse builds a DoneResource value for a failed HTTP call.
NewExecutor constructs an instance of Executor.
No description provided by the author
NewRunner returns a Runner instance.
NewState constructs a State value.
ResolveChainedValues takes an unresolved Resource collection and replace chain parameter values by data present in the done Resource collection.
ResolveDependsOn takes an unresolved Resource collection and find if a resource dependency was successfully resolved.
UnwrapNoMultiplex transform a collection of unresolved Resources with `no-multiplex` functions into a collection of Resources without it.
ValidateChainedValues returns an error if a chain parameter value references an unknown statement.
ValidateDependsOnTarget returns an error if a depends-on target references an unknown statement.
# Constants
EmptyChained in a token used to represent a chained parameter value that could not be resolved due to a failed response from the upstream dependency.
# Variables
ErrInvalidChainedParameter represents an error when a chain parameter value references an unknown statement.
ErrInvalidDependsOnTarget represents an error when a depends-on target references an unknown statement.
ErrMaxGoroutineDenied represents the event when restQL reaches the maximum number of concurrent goroutines and cannot process anymore.
ErrMaxQueryDenied represents the event when restQL reaches the maximum number of concurrent queries and cannot process anymore.
ErrQueryTimedOut represents the event of a query that exceed the maximum execution time for it.
# Structs
DoneResourceOptions represents information from the statement that should be passed to the result.
Executor process statements into a result by executing the relevant HTTP calls to the upstream dependency.
Options wraps all configuration parameters for the Runner.
Runner process a query into a Resource collection with the results in the most efficient way.
State tracks the status of the statements to be resolved being resolved and done.