Documentation ¶
Index ¶
- Variables
- func BodyFileUpload(fileUpload FileParam, Params ...ParamInUploadFile) (*bytes.Buffer, string)
- func FileUpload(request *http.Request, multipath string, proxy string, redirect bool, ...) (*http.Response, time.Duration)
- func Sends(req []*Request, proxy string, redirect bool, worker int, ...)
- func SpawnRequest(request *http.Request, proxy string, redirect bool, jar *cookiejar.Jar) (*http.Response, time.Duration)
- func UnzipResp(resp *http.Response) string
- type ChannelResult
- type CustomTransport
- func (tr *CustomTransport) ConnDuration() time.Duration
- func (tr *CustomTransport) Dial(network, addr string) (net.Conn, error)
- func (tr *CustomTransport) Duration() time.Duration
- func (tr *CustomTransport) ReqDuration() time.Duration
- func (tr *CustomTransport) RoundTrip(r *http.Request) (*http.Response, error)
- type FileParam
- type ParamInUploadFile
- type Request
Constants ¶
This section is empty.
Variables ¶
View Source
var Check bool
Functions ¶
func BodyFileUpload ¶
func BodyFileUpload(fileUpload FileParam, Params ...ParamInUploadFile) (*bytes.Buffer, string)
func FileUpload ¶
func Sends ¶
func Sends(req []*Request, proxy string, redirect bool, worker int, f func(c ChannelResult))
func SpawnRequest ¶
Types ¶
type ChannelResult ¶
type ChannelResult struct { Index int Resp *http.Response Req *http.Request Time time.Duration DataRet rune }
func SPrintln ¶ added in v1.1.2
func SPrintln(data []ChannelResult, temp ChannelResult) []ChannelResult
With rune in DataRet u can use to print string or int Example: string(v.DataRet) int(v.DataRet)
type CustomTransport ¶
type CustomTransport struct {
// contains filtered or unexported fields
}
func NewTransport ¶
func NewTransport(proxy string) *CustomTransport
NewTransport return CustomTransport
func (*CustomTransport) ConnDuration ¶
func (tr *CustomTransport) ConnDuration() time.Duration
func (*CustomTransport) Dial ¶
func (tr *CustomTransport) Dial(network, addr string) (net.Conn, error)
func (*CustomTransport) Duration ¶
func (tr *CustomTransport) Duration() time.Duration
func (*CustomTransport) ReqDuration ¶
func (tr *CustomTransport) ReqDuration() time.Duration
type ParamInUploadFile ¶
Process Upload File
Click to show internal directories.
Click to hide internal directories.