Documentation ¶
Index ¶
- type SetHeader
- func (self *SetHeader) Action(resp http.ResponseWriter, req *http.Request) (bool, error)
- func (self *SetHeader) GetName() string
- func (v SetHeader) MarshalEasyJSON(w *jwriter.Writer)
- func (v SetHeader) MarshalJSON() ([]byte, error)
- func (v *SetHeader) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SetHeader) UnmarshalJSON(data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SetHeader ¶
type SetHeader struct { RequestHeader map[string]string `json:"request_header,omitempty"` ResponseHeader map[string]string `json:"response_header,omitempty"` }
header数据处理
func (SetHeader) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (SetHeader) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*SetHeader) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SetHeader) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
Click to show internal directories.
Click to hide internal directories.