package
0.0.0-20231012004527-77189e400b6e
Repository: https://github.com/dagger/graphql-go-tools.git
Documentation: pkg.go.dev
# Functions
NewConnection establishes a GraphQL WebSocket connection.
# Structs
ConnectionConfig defines the configuration parameters of a GraphQL WebSocket connection.
ConnectionEventHandlers define the event handlers for a connection.
DataMessagePayload defines the result data of an operation.
InitMessagePayload defines the parameters of a connection init message.
OperationMessage represents a GraphQL WebSocket message.
StartMessagePayload defines the parameters of an operation that a client requests to be started.
# Interfaces
Connection is an interface to represent GraphQL WebSocket connections.
# Type aliases
AuthenticateFunc is a function that resolves an auth token into a user (or returns an error if that isn't possible).