package
0.2.0
Repository: https://github.com/andrewwphillips/eggql.git
Documentation: pkg.go.dev

# Functions

FixNumbers processes the request variables (decoded from JSON variables map) converting json.Number fields to either floats or ints.
FuncCache turns on caching forever for the results of function resolvers, but not data (non-func) resolver fields Values are cached indefinitely - but this can be set using the maxAge argument of @cacheControl directive.
InitialTimeout sets the length time to wait from when the websocket is opened until the "connection_init" message is received.
New creates a new handler with the given schema(s) and query/mutation/subscription struct(s) Parameters: schemaStrings - a slice of strings containing the GraphQL schema(s) - typically only 1 enums - a map of enum names to a slice of strings containing the enum values for all the schemas can be nil if there are no enums qms - a slice of query/mutation/subscription structs where: qms[0] - query struct(s) qms[1] - mutation struct(s) qms[2] - subscription struct(s) options - zero or more options returned by calls to: handler.FuncCache handler.NoIntrospection handler.NoConcurrency handler.NilResolver handler.InitialTimeout handler.PingFrequency handler.PongTimeout.
No description provided by the author
NilResolverAllowed allows func resolvers to be nil, whence they return a null value (rather than return an error).
NoConcurrency turns off concurrent execution of queries.
NoIntrospection turns off all introspection queries.
PingFrequency says how often to send a "ping" message (if the client connects with new protocol) or a "ka" (keep alive) message (old protocol).
PongTimeout set the length time to wait for a "pong" message from the client after a "ping" message is sent.

# Variables

IntroEnums stores the name and values (text) of the __TypeKind and __DirectiveLocation enums.
IntroEnumsReverse stores the same enums as IntroEnum, as maps for reverse lookup of int values Each enum is a map keyed by the enum value (string) giving the underlying (int) value.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author