 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
var (
	ErrUnknown = errors.New("undefined proxy rule")
)
    Functions ¶
Types ¶
type ConfigRepository ¶
type MiddlewareSpec ¶
type MiddlewareSpecs ¶
type MiddlewareSpecs []MiddlewareSpec
func (MiddlewareSpecs) Get ¶
func (m MiddlewareSpecs) Get(name string) (MiddlewareSpec, bool)
type Rule ¶
type Rule struct {
	Frontend    Frontend        `yaml:"frontend"`
	Backend     Backend         `yaml:"backend"`
	Middlewares MiddlewareSpecs `yaml:"middlewares"`
	Hooks       HookSpecs       `yaml:"hooks"`
}
    type Service ¶
type Service struct {
	// contains filtered or unexported fields
}
    func NewService ¶
func NewService(configRepository ConfigRepository) *Service
 Click to show internal directories. 
   Click to hide internal directories.