Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Host string `yaml:"host"`
Port int `yaml:"port"`
GRPCPort int `yaml:"grpc_port"`
ProfileHost string `yaml:"profile_host"`
ProfilePort int `yaml:"profile_port"`
Dir string `yaml:"dir"`
MaxSize int `yaml:"max_size"`
HtpasswdFile string `yaml:"htpasswd_file"`
TLSCertFile string `yaml:"tls_cert_file"`
TLSKeyFile string `yaml:"tls_key_file"`
S3CloudStorage *S3CloudStorageConfig `yaml:"s3_proxy"`
GoogleCloudStorage *GoogleCloudStorageConfig `yaml:"gcs_proxy"`
HTTPBackend *HTTPBackendConfig `yaml:"http_proxy"`
IdleTimeout time.Duration `yaml:"idle_timeout"`
DisableHTTPACValidation bool `yaml:"disable_http_ac_validation"`
}
Config provides the configuration
type HTTPBackendConfig ¶
type HTTPBackendConfig struct {
BaseURL string `yaml:"url"`
}
Click to show internal directories.
Click to hide internal directories.