Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HTTPSWrenchConfig ¶
type HTTPSWrenchConfig struct {
Debug bool `mapstructure:"debug"`
Verbose bool `mapstructure:"verbose"`
CaBundle string `mapstructure:"caBundle"`
requests.RequestsMetaConfig `mapstructure:",squash"`
}
HTTPSWrenchConfig represents the top-level configuration for the application.
func LoadConfig ¶
func LoadConfig() (*HTTPSWrenchConfig, error)
LoadConfig reads the configuration file and unmarshals it into an HTTPSWrenchConfig struct.
func NewHTTPSWrenchConfig ¶
func NewHTTPSWrenchConfig() *HTTPSWrenchConfig
NewHTTPSWrenchConfig returns a new HTTPSWrenchConfig with default values.
Click to show internal directories.
Click to hide internal directories.