Documentation ¶
Index ¶
- func DisPatchHook(key string, hooks HooksDict, data any) any
- func RegisterHook(hooksDict *HooksDict, key string, hook Hook) error
- type AuthInter
- type BasicAuth
- type BearerAuth
- type Dict
- type Ext
- func AllowRedirects(allowRedirects bool) Ext
- func Auth(auth AuthInter) Ext
- func Cookies(cookies Dict) Ext
- func Data(data Dict) Ext
- func Files(files Dict) Ext
- func Headers(headers Dict) Ext
- func Hooks(hooksDict HooksDict) Ext
- func Json(json map[string]interface{}) Ext
- func Params(params Dict) Ext
- func Proxy(proxy string) Ext
- func Stream(stream io.Reader) Ext
- func Timeout(timeout int) Ext
- func Verify(verify bool) Ext
- type ExtensionPackage
- type Hook
- type HooksDict
- type List
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BearerAuth ¶
type BearerAuth struct {
Token string
}
func (BearerAuth) Format ¶
func (a BearerAuth) Format(p any) error
type ExtensionPackage ¶
Click to show internal directories.
Click to hide internal directories.