Documentation ¶
Index ¶
- func GetByUrl[T any](url string, cfg conf.CenterApi) (T, error)
- func GetByUrls[T any](ctx *ctx.Context, path string) (T, error)
- func PostByUrl[T any](url string, cfg conf.CenterApi, v interface{}) (t T, err error)
- func PostByUrls(ctx *ctx.Context, path string, v interface{}) (err error)
- func PostByUrlsWithResp[T any](ctx *ctx.Context, path string, v interface{}) (t T, err error)
- func PostJSON(url string, timeout time.Duration, v interface{}, retries ...int) (response []byte, code int, err error)
- type DataResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PostByUrlsWithResp ¶ added in v6.3.0
Types ¶
type DataResponse ¶
Click to show internal directories.
Click to hide internal directories.