Documentation
¶
Index ¶
- func Delete(ctx context.Context, url string, opt *HTTPOption) (int, []byte, error)
- func DeleteForm(ctx context.Context, url string, param map[string]interface{}, opt *HTTPOption) (int, []byte, error)
- func DeleteJSON(ctx context.Context, url string, param interface{}, res interface{}, ...) (int, error)
- func DeleteQueryString(ctx context.Context, url string, qs string, opt *HTTPOption) (int, []byte, error)
- func Get(ctx context.Context, url string, opt *HTTPOption) (int, []byte, error)
- func GetForm(ctx context.Context, url string, param map[string]interface{}, opt *HTTPOption) (int, []byte, error)
- func GetQueryString(ctx context.Context, url string, qs string, opt *HTTPOption) (int, []byte, error)
- func PostBody(ctx context.Context, url string, body []byte, opt *HTTPOption) (int, []byte, error)
- func PostForm(ctx context.Context, url string, param map[string]interface{}, opt *HTTPOption) (int, []byte, error)
- func PostJSON(ctx context.Context, url string, param interface{}, res interface{}, ...) (int, error)
- func PutBody(ctx context.Context, url string, body []byte, opt *HTTPOption) (int, []byte, error)
- func PutJSON(ctx context.Context, url string, param interface{}, res interface{}, ...) (int, error)
- type HTTPOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteForm ¶
func DeleteForm(ctx context.Context, url string, param map[string]interface{}, opt *HTTPOption) (int, []byte, error)
DeleteForm ... Deleteリクエスト(URL, param)
func DeleteJSON ¶
func DeleteJSON(ctx context.Context, url string, param interface{}, res interface{}, opt *HTTPOption) (int, error)
DeleteJSON ... Deleteリクエスト(URL, JSON)
func DeleteQueryString ¶
func DeleteQueryString(ctx context.Context, url string, qs string, opt *HTTPOption) (int, []byte, error)
DeleteQueryString ... Deleteリクエスト(URL, QueryString)
func GetForm ¶
func GetForm(ctx context.Context, url string, param map[string]interface{}, opt *HTTPOption) (int, []byte, error)
GetForm ... Getリクエスト(URL, param)
func GetQueryString ¶
func GetQueryString(ctx context.Context, url string, qs string, opt *HTTPOption) (int, []byte, error)
GetQueryString ... Getリクエスト(URL, QueryString)
func PostForm ¶
func PostForm(ctx context.Context, url string, param map[string]interface{}, opt *HTTPOption) (int, []byte, error)
PostForm ... Postリクエスト(URL, param)
func PostJSON ¶
func PostJSON(ctx context.Context, url string, param interface{}, res interface{}, opt *HTTPOption) (int, error)
PostJSON ... Postリクエスト(URL, JSON)
Types ¶
Click to show internal directories.
Click to hide internal directories.