Documentation ¶
Index ¶
- type Client
- func (comp *Client) ClearQuota() (*response2.ResponseOpenPlatform, error)
- func (comp *Client) CreatePreAuthorizationCode() (*response.ResponseCreatePreAuthorizationCode, error)
- func (comp *Client) GetAuthorizer(appID string) (*response.ResponseGetAuthorizer, error)
- func (comp *Client) GetAuthorizerOption(appID string, name string) (*response.ResponseGetAuthorizerOption, error)
- func (comp *Client) GetAuthorizers(offset int, count int) (*response2.ResponseOpenPlatform, error)
- func (comp *Client) HandleAuthorize(authCode string) (*response.ResponseHandleAuthorize, error)
- func (comp *Client) SetAuthorizerOption(appID string, name string, value string) (*response2.ResponseOpenPlatform, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
BaseClient *kernel.BaseClient
}
func RegisterProvider ¶
func RegisterProvider(app kernel.ApplicationInterface) (*Client, error)
func (*Client) ClearQuota ¶
func (comp *Client) ClearQuota() (*response2.ResponseOpenPlatform, error)
清空 api 的调用quota https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/openApi/clear_quota.html
func (*Client) CreatePreAuthorizationCode ¶
func (comp *Client) CreatePreAuthorizationCode() (*response.ResponseCreatePreAuthorizationCode, error)
func (*Client) GetAuthorizer ¶
func (comp *Client) GetAuthorizer(appID string) (*response.ResponseGetAuthorizer, error)
func (*Client) GetAuthorizerOption ¶
func (*Client) GetAuthorizers ¶
func (*Client) HandleAuthorize ¶
func (comp *Client) HandleAuthorize(authCode string) (*response.ResponseHandleAuthorize, error)
func (*Client) SetAuthorizerOption ¶
Click to show internal directories.
Click to hide internal directories.