package
Version:
v0.7.2
Opens a new window with list of versions in this module.
Published: Feb 7, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Backend struct {
Name string `yaml:"name"`
Target string `yaml:"target"`
Methods []string `yaml:"methods"`
Frontends []Frontend `yaml:"frontends"`
Prefix string `yaml:"prefix"`
}
type Frontend struct {
Action string `yaml:"action"`
Path string `yaml:"path"`
Method string `yaml:"method"`
Middlewares []Middleware `yaml:"middlewares"`
Hooks []Hook `yaml:"hooks"`
}
type Hook struct {
Name string `yaml:"name"`
Config map[string]interface{} `yaml:"config"`
}
type Middleware struct {
Name string `yaml:"name"`
Config map[string]interface{} `yaml:"config"`
}
type Rule struct {
Backends []Backend `yaml:"backends"`
}
type Ruleset struct {
Rules []Rule `yaml:"rules"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.