Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Web struct { ReadTimeout time.Duration `conf:"default:5s" yaml:"read_timeout"` WriteTimeout time.Duration `conf:"default:10s" yaml:"write_timeout"` IdleTimeout time.Duration `conf:"default:120s" yaml:"idle_timeout"` ShutdownTimeout time.Duration `conf:"default:20s" yaml:"shutdown_timeout"` Host string `conf:"default:0.0.0.0:8080" yaml:"host"` // or maybe we just want to listen on everything and forward Path string `conf:"default:/graphql" yaml:"path"` } Schema schema.Config `yaml:"schema"` Target proxy.Config `yaml:"target"` PersistedOperations persistedoperations.Config `yaml:"persisted_operations"` ObfuscateValidationErrors bool `conf:"default:false" yaml:"obfuscate_validation_errors"` ObfuscateUpstreamErrors bool `conf:"default:true" yaml:"obfuscate_upstream_errors"` BlockFieldSuggestions block_field_suggestions.Config `yaml:"block_field_suggestions"` MaxTokens tokens.Config `yaml:"max_tokens"` MaxAliases aliases.Config `yaml:"max_aliases"` EnforcePost enforce_post.Config `yaml:"enforce_post"` MaxDepth max_depth.Config `yaml:"max_depth"` MaxBatch batch.Config `yaml:"max_batch"` AccessLogging accesslogging.Config `yaml:"access_logging"` Log log.Config `yaml:"log"` LogGraphqlErrors bool `conf:"default:false" yaml:"log_graphql_errors"` }
Click to show internal directories.
Click to hide internal directories.