Documentation
¶
Overview ¶
Package proxyutil handles parsing logic for proxymw configs
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
InsecureListenAddress string `yaml:"insecure_listen_addr"`
InternalListenAddress string `yaml:"internal_listen_addr"`
Upstream string `yaml:"upstream"`
ProxyPaths []string `yaml:"proxy_paths"`
PassthroughPaths []string `yaml:"passthrough_paths"`
ProxyConfig proxymw.Config `yaml:"proxymw_config"`
ReadTimeout time.Duration `yaml:"proxy_read_timeout"`
WriteTimeout time.Duration `yaml:"proxy_write_timeout"`
}
func ParseConfigEnvironment ¶ added in v0.1.14
func ParseConfigFile ¶ added in v0.1.14
func ParseConfigFlags ¶ added in v0.1.14
type Float64Slice ¶
type Float64Slice []float64
func (*Float64Slice) Set ¶
func (f *Float64Slice) Set(value string) error
func (*Float64Slice) String ¶
func (f *Float64Slice) String() string
type StringSlice ¶
type StringSlice []string
func (*StringSlice) Set ¶
func (s *StringSlice) Set(value string) error
func (*StringSlice) String ¶
func (s *StringSlice) String() string
Click to show internal directories.
Click to hide internal directories.