# Functions
DefaultEnvironment return default environment.
NewRouter creates new function router.
SetDefaultEnvironment for router.
# Constants
BlockingSubscription subscription keeps alive subscription connection until client disconnects and streams.
ContextKey returns shared router context from context associated with request.
DefaultSubscription defaults to internal.
ExternalSubscription subscription returns a value from extension with connection payload to external service.
ProtocolKey used to pass extra data from protocol used for comunication.
RawSubscriptionKey used to pass instruction about how a subscription should be handled.
RedirectSubscription returns 302 response with a redirect address being a user generated address.
SchemaEnv is a name of environment variable that will be checked for schema if one is not provided.
SubscriptionPayloadKey payload value for subscription in context.
# Structs
AuthorizeConfig is an authorize function config.
BlockingSubscriptionExtension is a blocking subscription extension.
BlockingSubscriptionPayload returns data for blocking subscriptions to be handled by blocking protocol.
Config is a router configuration mapping defined endpoints with thier runtime config.
Context context associated with request.
Dispatch executes a resolution through a driver.
Environment runtime environment for a function.
ExternalSubscriptionExtension is a blocking subscription extension.
InterfaceConfig defines function configuration for interface type resolution.
ResolverConfig defines function configuration for field resolver.
Router dispatches defined functions to a driver that handles them.
ScalarConfig defines parse and serialize function configurations for scalar.
SecretsConfig defines a secret configuration for router.
SubscribeContext contains information about subscription execution.
SubscribeExtension implements custom behaviour for extension types It basically passes through most of the parsing and validation process but short circuts the execution returning a custom result that should further be processed.
SubscriptionConfig configures subscription handling for stucco.
UnionConfig defines function configuration for union type resolution.
No description provided by the author
# Interfaces
BlockingSubscriptionHandler can be implemented by field returned from root object on API to prepare connection data If SubscriptionConnection returns an error, that error will be returned.
ExternalSubscriptionHandler can be implemented by root object on API to prepare connection data If SubscriptionConnection returns an error, that error will be returned.
TypeMap contains defined GraphQL types.
# Type aliases
SubscriptionKind defines allowed types of subscription.