Documentation
¶
Index ¶
- func Delete(ctx context.Context, url string, opt *HTTPOption) (int, []byte, error)
- func DeleteForm(ctx context.Context, url string, param map[string]any, opt *HTTPOption) (int, []byte, error)
- func DeleteJSON(ctx context.Context, url string, param any, res any, opt *HTTPOption) (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]any, opt *HTTPOption) (int, []byte, error)
- func GetQueryString(ctx context.Context, url string, qs string, opt *HTTPOption) (int, []byte, error)
- func PatchBody(ctx context.Context, url string, body []byte, opt *HTTPOption) (int, []byte, error)
- func PatchJSON(ctx context.Context, url string, param any, res any, opt *HTTPOption) (int, 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]any, opt *HTTPOption) (int, []byte, error)
- func PostJSON(ctx context.Context, url string, param any, res any, opt *HTTPOption) (int, error)
- func PutBody(ctx context.Context, url string, body []byte, opt *HTTPOption) (int, []byte, error)
- func PutJSON(ctx context.Context, url string, param any, res any, opt *HTTPOption) (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]any, opt *HTTPOption) (int, []byte, error)
Deleteリクエスト(URL, param)
func DeleteJSON ¶
Deleteリクエスト(URL, JSON)
func DeleteQueryString ¶
func DeleteQueryString(ctx context.Context, url string, qs string, opt *HTTPOption) (int, []byte, error)
Deleteリクエスト(URL, QueryString)
func GetForm ¶
func GetForm(ctx context.Context, url string, param map[string]any, opt *HTTPOption) (int, []byte, error)
Getリクエスト(URL, param)
func GetQueryString ¶
func GetQueryString(ctx context.Context, url string, qs string, opt *HTTPOption) (int, []byte, error)
Getリクエスト(URL, QueryString)
func PostForm ¶
func PostForm(ctx context.Context, url string, param map[string]any, opt *HTTPOption) (int, []byte, error)
Postリクエスト(URL, param)
Types ¶
Click to show internal directories.
Click to hide internal directories.