Documentation ¶
Index ¶
- Variables
- func Delete(url string, headers map[string]string, r ...any) (*resty.Response, error)
- func Get(url string, headers map[string]string, r ...any) (*resty.Response, error)
- func GetFileUrl(filePath string) string
- func GetFullUrl(url string) string
- func Post(url string, headers map[string]string, data any, r ...any) (*resty.Response, error)
- func PostFile(url string, headers map[string]string, files map[string]string, r ...any) (*resty.Response, error)
- func PostForm(url string, headers map[string]string, data map[string]string, r ...any) (*resty.Response, error)
- func Put(url string, headers map[string]string, data any, r ...any) (*resty.Response, error)
- func SaveFile(url string, headers map[string]string, file ...string) (*resty.Response, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Ip string Port uint Timeout time.Duration )
Functions ¶
func GetFileUrl ¶
func GetFullUrl ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.