Documentation
¶
Index ¶
- 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 GetAccessTokenResult
- type Result
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type API ¶
type API interface {
GetAccessToken() (*GetAccessTokenResult, error)
GetAppId() string
GetAppSecret() string
}
type GetAccessTokenResult ¶
Click to show internal directories.
Click to hide internal directories.