Versions in this module Expand all Collapse all v0 v0.1.0 Aug 23, 2026 Changes in this version + func AuthConfig(c RLS) auth.Config + func ChangedFlags(fs *flag.FlagSet, except ...string) *flag.FlagSet + func Discover(names ...string) string + func EnvKeyMapper(prefix string) func(string) string + func ExampleYAML(v any, opts ...ExampleOption) string + func InvalidConfig(errs []string) error + func Load(envPrefix, path string, flags *flag.FlagSet, dst any) error + func ParseTrustedProxy(s string) (netip.Prefix, error) + func ValidChannelName(s string) bool + func ValidateErrors(e Errors) []string + func ValidateLog(l Log) []string + func ValidateRLS(c RLS) []string + func ValidateSchema(s Schema) []string + func ValidateTX(t TX) []string + func ValidateWatch(w Watch, cachePath string) []string + type Auth struct + HeaderPrefix string + JWKSCacheTTL time.Duration + JWKSURL string + JWTAudience string + JWTIssuer string + JWTSecret string + JWTType string + Mode string + TrustedProxies []string + type Database struct + ConnectTimeout time.Duration + MaxConns int32 + StatementTimeout time.Duration + URL string + type Errors struct + Detail string + type ExampleOption func(*exampleOpts) + func WithDoc(path, doc string) ExampleOption + 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 + func (p Plugins) DisabledSet() map[string]bool + 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 TX struct + Isolation string + MaxRetries int + Mutations bool + type Watch struct + Channel string + Enabled bool + PollInterval time.Duration