package
Version:
v0.0.0-...-19a0cb6
Opens a new window with list of versions in this module.
Published: Dec 28, 2020
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
ConfigFileName is the default config for the rewriting proxy.
SetConf is used mainly in unit tests.
GetConf returns the global vper object
type Proxy struct {
Upstream string `mapstructure:"upstream"`
Mimes []string `mapstructure:"mimes"`
Replaces Replaces
}
type Response struct {
Body Body `mapstructure:"body"`
Mimes []string `mapstructure:"mimes"`
}
type Server struct {
HTTPAddr string `mapstructure:"http_addr"`
Cert string `mapstructure:"cert"`
Key string `mapstructure:"key"`
Drain string `mapstructure:"drain"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.