Documentation ¶
Index ¶
- Variables
- func FilterRequest(request *http.Request) (resultReq *http.Request, willContinue bool)
- func FilterResponse(response *http.Response) (resultResp *http.Response)
- func Register(plugin *Plugin)
- func ReloadAllApps()
- type Loader
- func (this *Loader) ActionFilterRequest(action *messages.FilterRequestAction)
- func (this *Loader) ActionFilterResponse(action *messages.FilterResponseAction)
- func (this *Loader) ActionRegisterPlugin(action *messages.RegisterPluginAction)
- func (this *Loader) CallAction(ptr interface{}, messageId uint32) error
- func (this *Loader) Debug()
- func (this *Loader) Load() error
- func (this *Loader) Write(action messages.ActionInterface) error
- type PipeInterface
- type Plugin
Constants ¶
This section is empty.
Variables ¶
View Source
var HasRequestFilters = false
View Source
var HasResponseFilters = false
Functions ¶
func FilterRequest ¶
Types ¶
type Loader ¶
type Loader struct {
// contains filtered or unexported fields
}
插件加载器
func (*Loader) ActionFilterRequest ¶
func (this *Loader) ActionFilterRequest(action *messages.FilterRequestAction)
func (*Loader) ActionFilterResponse ¶
func (this *Loader) ActionFilterResponse(action *messages.FilterResponseAction)
func (*Loader) ActionRegisterPlugin ¶
func (this *Loader) ActionRegisterPlugin(action *messages.RegisterPluginAction)
func (*Loader) CallAction ¶
type PipeInterface ¶
Click to show internal directories.
Click to hide internal directories.