Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
HTTP HTTPConfig `json:"http"`
}
type HTTPConfig ¶
type HTTPConfig struct {
Routers map[string]RouterConfig `json:"routers,omitempty"`
Services map[string]ServiceConfig `json:"services,omitempty"`
Middlewares map[string]map[string]any `json:"middlewares,omitempty"`
}
type LoadBalancerConfig ¶
type LoadBalancerConfig struct {
Servers []ServerConfig `json:"servers"`
}
type RouterConfig ¶
type ServerConfig ¶
type ServerConfig struct {
URL string `json:"url"`
}
type ServiceConfig ¶
type ServiceConfig struct {
LoadBalancer LoadBalancerConfig
}
Click to show internal directories.
Click to hide internal directories.