Versions in this module Expand all Collapse all v0 v0.9.0 Jul 27, 2026 v0.8.2 Jul 26, 2026 v0.8.1 Jul 26, 2026 v0.8.0 Jul 26, 2026 v0.7.0 Jul 25, 2026 Changes in this version + func ParseTrustedProxy(s string) (netip.Prefix, error) type Auth + TrustedProxies []string type Server + DisableIntrospection bool v0.6.0 Jul 25, 2026 v0.5.0 Jul 25, 2026 v0.4.0 Jul 25, 2026 Changes in this version type Server + ReadOnly bool v0.3.1 Jul 24, 2026 v0.3.0 Jul 23, 2026 v0.2.0 Jul 21, 2026 v0.1.2 Jul 19, 2026 v0.1.1 Jul 18, 2026 v0.1.0 Jul 17, 2026 Changes in this version + func ExampleYAML() string + type Auth struct + HeaderPrefix string + JWKSCacheTTL time.Duration + JWKSURL string + JWTAudience string + JWTIssuer string + JWTSecret string + JWTType string + Mode string + type Config struct + Database Database + Errors Errors + Filters Filters + Log Log + Plugins Plugins + RLS RLS + Schema Schema + Server Server + TX TX + Watch Watch + func DefaultConfig() Config + func Load(path string, flags *flag.FlagSet) (Config, error) + func (c *Config) DisabledPlugins() map[string]bool + func (c *Config) Validate() error + type Database struct + ConnectTimeout time.Duration + MaxConns int32 + StatementTimeout time.Duration + URL string + type Errors struct + Detail string + type Filters struct + AllowColumns map[string][]string + IndexedOnly bool + type Log struct + Format string + Level string + type Plugins struct + Disabled []string + Settings map[string]map[string]any + type RLS struct + AllowedRoles []string + AnonymousRole string + Auth Auth + ClaimsPrefix string + DefaultRole string + Enabled bool + RoleClaim string + type Schema struct + CachePath string + Functions bool + Schemas []string + type Server struct + APQ bool + Addr string + CORSOrigins []string + Compression bool + ExposeSchema bool + GraphiQL bool + MaxBodyBytes int64 + MaxCost int + MaxDepth int + MaxPageSize int + PersistedOnly bool + PersistedQueriesPath string + RequestTimeout time.Duration + type TX struct + Isolation string + MaxRetries int + Mutations bool + PerRequest bool + type Watch struct + Channel string + Enabled bool + PollInterval time.Duration