Documentation ¶
Index ¶
Constants ¶
View Source
const (
Name = "request_interception"
)
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
func NewFactory() eosc.IExtenderDriverFactory
func Register ¶
func Register(register eosc.IExtenderDriverRegister)
Types ¶
type Config ¶
type Config struct { Status int `json:"status" label:"响应状态码" minimum:"100" default:"200" description:"最小值:100"` Body string `json:"body" label:"响应体"` ContentType string `json:"content_type" label:"响应体类型" default:"application/json" enum:"text/plain,text/html,application/json"` Headers []*Header `json:"headers" label:"响应头"` }
Click to show internal directories.
Click to hide internal directories.