Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BearerAuth ¶
type BearerAuth struct {
Token string
}
func (BearerAuth) Format ¶
func (a BearerAuth) Format(p any) error
type Ext ¶
type Ext func(ep *ExtensionPackage)
type ExtensionPackage ¶
type ExtensionPackage struct {
Method string // 隐性参数
Url string // 直传参数
Auth AuthInter // 以下均为扩展参数
CipherSuites []uint16
Cookies Dict
Form Dict
Files Dict
Headers Dict
Hooks HooksDict
Json map[string]any
Protocol string
LimitLength int64
Params Dict
ProcessOptions []processbar.Option
Proxy string
Redirect bool
Stream io.Reader
Timeout int
Tracer bool
Verify bool
}
Click to show internal directories.
Click to hide internal directories.