Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Enabled bool `json:"enabled"` // Debug DebugPprof bool `json:"debugPprof"` // Reverse proxy EnableTrustedProxyCheck bool `json:"enableTrustedProxyCheck"` TrustedProxies []string `json:"trustedProxies"` ProxyHeader string `json:"proxyHeader"` // Listen Listen string `json:"listen"` CertFile string `json:"certFile"` KeyFile string `json:"keyFile"` ClientCertFile string `json:"clientCertFile"` // Misc SecretPath string `json:"secretPath"` FiberConfigPath string `json:"fiberConfigPath"` }
Config stores the configuration for the RESTful API.
Click to show internal directories.
Click to hide internal directories.