Documentation
¶
Index ¶
- type Engine
- func (e *Engine) GetPlaceholder(name string) string
- func (e *Engine) GetPlaceholders() map[string]string
- func (e *Engine) IsHostAllowed(host string) bool
- func (e *Engine) OnRequest(req *http.Request, host string) (*http.Request, error)
- func (e *Engine) OnResponse(resp *http.Response, req *http.Request, host string) (*http.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
func NewEngine ¶
func NewEngine(config *api.NetworkConfig) *Engine
func (*Engine) GetPlaceholder ¶
func (*Engine) GetPlaceholders ¶
func (*Engine) IsHostAllowed ¶
Click to show internal directories.
Click to hide internal directories.