Documentation ¶
Index ¶
- type OpenAPI
- func (o *OpenAPI) ClearQuota(ctx context.Context) error
- func (o *OpenAPI) ClearQuotaByAppSecret() error
- func (o *OpenAPI) GetAPIQuota(ctx context.Context, params openapi.GetAPIQuotaParams) (quota openapi.APIQuota, err error)
- func (o *OpenAPI) GetRidInfo(ctx context.Context, params openapi.GetRidInfoParams) (r openapi.RidInfo, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpenAPI ¶
type OpenAPI struct {
// contains filtered or unexported fields
}
OpenAPI openApi管理
func (*OpenAPI) ClearQuota ¶
ClearQuota 重置API调用次数 https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/openApi-mgnt/clearQuota.html
func (*OpenAPI) ClearQuotaByAppSecret ¶
ClearQuotaByAppSecret 使用AppSecret重置 API 调用次数 https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/openApi-mgnt/clearQuotaByAppSecret.html
func (*OpenAPI) GetAPIQuota ¶
func (o *OpenAPI) GetAPIQuota(ctx context.Context, params openapi.GetAPIQuotaParams) (quota openapi.APIQuota, err error)
GetAPIQuota 查询API调用额度 https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/openApi-mgnt/getApiQuota.html
func (*OpenAPI) GetRidInfo ¶
func (o *OpenAPI) GetRidInfo(ctx context.Context, params openapi.GetRidInfoParams) (r openapi.RidInfo, err error)
GetRidInfo 查询rid信息 https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/openApi-mgnt/getRidInfo.html
Click to show internal directories.
Click to hide internal directories.