Documentation
¶
Index ¶
- func Base64Encode(data string) string
- func GET(uri string, opts ...Option) (data []byte, code int, err error)
- func Get(uri string, options *Options) (data []byte, code int, err error)
- func JSON(uri string, Any any, options ...Option) (data []byte, code int, err error)
- func POST(uri string, opts ...Option) (data []byte, code int, err error)
- func Post(uri string, options *Options) (data []byte, code int, err error)
- func PostForm(uri string, values url.Values, options *Options) (data []byte, code int, err error)
- func Request(uri string, options *Options) (data []byte, code int, err error)
- type BasicAuth
- type Opt
- type Option
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Base64Encode ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.