package
Version:
v0.0.0-...-96b2a86
Opens a new window with list of versions in this module.
Published: Sep 16, 2020
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Backend struct {
Id int `json:"id"`
Hostname string `json:"hostname"`
Port int `json:"port"`
Weight int `json:"weight"`
}
type Config struct {
Logging Logging `json:"logging"`
Frontends []Frontend `json:"frontends"`
}
type Frontend struct {
BindPort int `json:"bind_port"`
TLSKeyPath string `json:"tls_key_path"`
TLSCertPath string `json:"tls_cert_path"`
Hosts []Host `json:"hosts"`
}
type Host struct {
Hostname string `json:"hostname"`
Paths []Path `json:"paths"`
}
type Logging struct {
AccessPath string `json:"access_path"`
ErrorPath string `json:"error_path"`
}
type Path struct {
Path string `json:"path"`
Backends []Backend `json:"backends"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.