Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewValidationError ¶
Types ¶
type Config ¶
type Config struct { Proxy ProxyConfig `mapstructure:"proxy"` Server ServerConfig `mapstructure:"server"` Log LogConfig `mapstructure:"log"` }
type HeadersConfig ¶
type ProxyConfig ¶
type ProxyConfig struct { UpstreamTarget string `mapstructure:"upstreamTarget"` Signer SignerConfig `mapstructure:"signer"` }
type ServerConfig ¶
type SignerConfig ¶
type SignerConfig struct { KeyId string `mapstructure:"keyId"` KeyFilePath string `mapstructure:"keyFilePath"` BodyDigestAlgo string `mapstructure:"bodyDigestAlgo"` SignatureHashAlgo string `mapstructure:"signatureHashAlgo"` Headers HeadersConfig `mapstructure:"headers"` }
type ValidationError ¶
type ValidationError struct {
// contains filtered or unexported fields
}
ValidationError describes an error validating the provided config.
func (*ValidationError) Error ¶
func (e *ValidationError) Error() string
Click to show internal directories.
Click to hide internal directories.