Versions in this module Expand all Collapse all v0 v0.17.20 Nov 10, 2022 Changes in this version + func GetInitPayload(ctx context.Context) transport.InitPayload + func GraphQL(exec graphql.ExecutableSchema, options ...Option) http.HandlerFunc + func Playground(title string, endpoint string) http.HandlerFunc + type Config struct + type InitPayload = transport.InitPayload + type Option func(cfg *Config) + func CacheSize(size int) Option + func ComplexityLimit(limit int) Option + func ComplexityLimitFunc(complexityLimitFunc func(ctx context.Context) int) Option + func EnablePersistedQueryCache(cache PersistedQueryCache) Option + func ErrorPresenter(f graphql.ErrorPresenterFunc) Option + func IntrospectionEnabled(enabled bool) Option + func RecoverFunc(recover graphql.RecoverFunc) Option + func RequestMiddleware(middleware graphql.ResponseMiddleware) Option + func ResolverMiddleware(middleware graphql.FieldMiddleware) Option + func UploadMaxMemory(size int64) Option + func UploadMaxSize(size int64) Option + func WebsocketInitFunc(websocketInitFunc transport.WebsocketInitFunc) Option + func WebsocketKeepAliveDuration(duration time.Duration) Option + func WebsocketPingPongDuration(duration time.Duration) Option + func WebsocketUpgrader(upgrader websocket.Upgrader) Option + type PersistedQueryCache interface + Add func(ctx context.Context, hash string, query string) + Get func(ctx context.Context, hash string) (string, bool)