Documentation ¶
Index ¶
- func Get(ctx context.Context, url string) string
- func NewClient() *client
- func NewClientWithOptions(option *Option) *client
- func Post(ctx context.Context, url string, body interface{}) string
- func ToBytes(res *http.Response, err error) []byte
- func ToString(res *http.Response, err error) string
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClientWithOptions ¶
func NewClientWithOptions(option *Option) *client
NewClientWithOptions ...
Types ¶
Click to show internal directories.
Click to hide internal directories.