package config type ProfilingConfig struct { Enabled InterpolatedBool `yaml:"enabled"` Endpoint InterpolatedString `yaml:"endpoint"` BasicAuth *BasicAuthConfig `yaml:"basicAuth"` } func NewDefaultProfilingConfig() ProfilingConfig { return ProfilingConfig{ Enabled: true, Endpoint: "/.bouncer/profiling", BasicAuth: nil, } }