Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Connect ¶
func Connect(ctx context.Context, ws wsConnection, service GraphQLService, options ...func(conn *connection)) func()
Connect implements the apollographql subscriptions-transport-ws protocol@v0.9.4 https://github.com/apollographql/subscriptions-transport-ws/blob/v0.9.4/PROTOCOL.md
func NewHandlerFunc ¶
func NewHandlerFunc(svc GraphQLService, httpHandler http.Handler) http.HandlerFunc
NewHandlerFunc returns an http.HandlerFunc that supports GraphQL over websockets
Types ¶
Click to show internal directories.
Click to hide internal directories.