Versions in this module Expand all Collapse all v0 v0.0.1 Jun 23, 2020 Changes in this version + func Authentication(r *http.Request, f AuthenticateFunc) func(conn *connection) + func Connect(connectionID string, ws wsConnection, service GraphQLService, ...) + func ReadLimit(limit int64) func(conn *connection) + func WriteTimeout(d time.Duration) func(conn *connection) + type AuthenticateFunc func(ctx context.Context, r *http.Request, payload map[string]interface{}) (context.Context, error) + type GraphQLService interface + Subscribe func(ctx context.Context, document string, operationName string, ...) (payloads <-chan interface{}, err error) + type Middleware struct + func NewMiddleware(service GraphQLService, ...) *Middleware + func (m *Middleware) Handler(next http.Handler) http.Handler