Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Port int64 `config:"port"`
// BaseURI is the base uri of api gateway, which is used to generate the proxy request url
BaseURI string `config:"baseuri"`
//
Backend route.Backend `config:"backend"`
//
Routes []route.Route `config:"routes"`
//
Cache Cache `config:"cache"`
//
HealthCheck HealthCheck `config:"healthcheck"`
}
type HealthCheck ¶
type HealthCheck struct {
Outer HealthCheckOuter `config:"outer"`
Inner HealthCheckInner `config:"inner"`
}
type HealthCheckInner ¶
type HealthCheckOuter ¶
Click to show internal directories.
Click to hide internal directories.