Documentation
¶
Index ¶
- func CacheFirst(objCache cache.ObjectCache, retrieveFunc RetrieveFunc) (string, error)
- func CheckResult(result Result, url string, request ...any) error
- func Get[RESULT any](url string, request ...any) (RESULT, error)
- func Post[RESULT any](url string, request ...any) (RESULT, error)
- func PostResponse(url string, request ...any) ([]byte, error)
- type API
- type AccessTokenResult
- type Result
- type RetrieveFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CacheFirst ¶ added in v0.2.0
func CacheFirst(objCache cache.ObjectCache, retrieveFunc RetrieveFunc) (string, error)
func CheckResult ¶ added in v0.2.0
Types ¶
type AccessTokenResult ¶
type RetrieveFunc ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.