Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HashSeed ¶
type Req ¶
type Req struct {
RequestMethod string `json:"method"`
RequestUrl string `json:"url"`
RequestParam string `json:"param,omitempty"`
RequestHeaders map[string]string `json:"headers"`
ContentLength int64 `json:"content_length"`
RequestHash string `json:"hash"`
Peer string `json:"peer"`
}
func (*Req) Apply ¶
func (z *Req) Apply(ctx api_context.Context, rb nw_client.RequestBuilder, req *http.Request)
Click to show internal directories.
Click to hide internal directories.