Versions in this module Expand all Collapse all v0 v0.12.1 Aug 11, 2020 Changes in this version + func GetInitPayload(ctx context.Context) transport.InitPayload + func GraphQL(exec graphql.ExecutableSchema, options ...Option) func(*fasthttp.RequestCtx) + func Playground(title string, endpoint string) fasthttp.RequestHandler + 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 WebsocketUpgrader(upgrader websocket.FastHTTPUpgrader) Option + type PersistedQueryCache interface + Add func(ctx context.Context, hash string, query string) + Get func(ctx context.Context, hash string) (string, bool)