package
0.10.25
Repository: https://github.com/graphql-editor/stucco.git
Documentation: pkg.go.dev

# Functions

ScanInvalid implements bufio.SplitFunc for bufio.Scanner, it reads up to 0xFF (invalid unicode) or EOF and returns read data without 0xFF.

# Structs

Client for github.com/graphql-editor/stucco/pkg/proto.
PipeStderr adds a hook to os.Stderr, watching all writes done to os.Stderr.
PipeStdout adds a hook to os.Stdout, watching all writes done to os.Stdout.
Server for github.com/graphql-editor/stucco/pkg/proto.

# Interfaces

AuthorizeHandler interface implemented by user to handle field resolution request.
FieldResolveHandler interface implemented by user to handle field resolution request.
InterfaceResolveTypeHandler interface implemented by user to handle interface type resolution.
ScalarParseHandler interface that must be implemented by user to handle scalar parse requests.
ScalarSerializeHandler interface that must be implemented by user to handle scalar serialize requests.
SetSecretsHandler interface implemented by user to handle secrets input from client.
StderrHandler interface that must be implemented by user for handling stderr bytestream requests by server.
StdoutHandler interface that must be implemented by user for handling stdout bytestream requests by server.
StreamHandler interface must be implemented by user to handle stream requests from subscriptions.
SubscriptionConnectionHandler interface implemented by user to handle subscription connection creation.
SubscriptionListenEmitter is returned to user to be called each time new subscription should be triggered.
SubscriptionListenHandler interface that must be implemented by user for handling subscription listen handler.
UnionResolveTypeHandler union implemented by user to handle union type resolution.

# Type aliases

AuthorizeHandlerFunc is a convienience function wrapper implementing AuthorizeHandler.
FieldResolveHandlerFunc is a convienience function wrapper implementing FieldResolveHandler.
InterfaceResolveTypeHandlerFunc is a convienience function wrapper implementing InterfaceResolveTypeHandler.
ScalarParseHandlerFunc is a convienience wrapper for function implementing ScalarParseHandler.
ScalarSerializeHandlerFunc is a convienience wrapper for function implementing ScalarSerializeHandler.
SetSecretsHandlerFunc is a convienience wrapper around function to implement SetSecretsHandler.
StderrHandlerFunc is a type of function that must be implemented in server implementation to handle ByteStreamRequest for stderr.
StdoutHandlerFunc is a type of function that must be implemented in server implementation to handle ByteStreamRequest for stdout.
StreamHandlerFunc is a convienience wrapper implementing StreamHandler interface.
SubscriptionConnectionHandlerFunc is a convienience function wrapper implementing SubscriptionConnectionHandler.
UnionResolveTypeHandlerFunc is a convienience function wrapper implementing UnionResolveTypeHandler.