Documentation ¶
Overview ¶
*
@author: taco @Date: 2023/10/27 @Time: 10:29
*
*
@author: taco @Date: 2023/10/27 @Time: 10:29
*
*
@author: taco @Date: 2023/10/27 @Time: 10:29
*
*
@author: taco @Date: 2023/10/27 @Time: 11:07
*
Index ¶
- type Article
- type Auth
- type Captcha
- type CloudC
- type Config
- func (c *Config) WithAccessKeyId(AccessKeyId string) *Config
- func (c *Config) WithAccessKeySecret(AccessKeySecret string) *Config
- func (c *Config) WithAutoRefreshToken(AutoRefreshToken bool) *Config
- func (c *Config) WithAutoRetry(isAutoRetry bool) *Config
- func (c *Config) WithDebug(Debug bool) *Config
- func (c *Config) WithMaxRetryTimes(MaxRetryTimes int) *Config
- func (c *Config) WithTimeout(Timeout time.Duration) *Config
- type Ems
- type Label
- type Minisite
- type Oss
- type Sdk
- func (c *Sdk) AddTenant(in *tenant.EditTenantParams) (*tenant.AddTenantResp, error)
- func (c *Sdk) ArticleBindArticleLabels(in *article.UpdateBindLabelsReq) (*article.Response, error)
- func (c *Sdk) ArticleCheckStatus() *Sdk
- func (c *Sdk) ArticleCreate(in *article.CreateArticleReq) (*article.CreateArticleResp, error)
- func (c *Sdk) ArticleDelete(in *article.DeleteReq) (*article.Response, error)
- func (c *Sdk) ArticleDeleteIds(in *article.DeleteIdsReq) (*article.Response, error)
- func (c *Sdk) ArticleQuery(in *article.QueryReq) (*article.QueryArticleResp, error)
- func (c *Sdk) ArticleQueryList(in *article.QueryArticleListReq) (*article.QueryArticleListResp, error)
- func (c *Sdk) ArticleUnBindArticleLabels(in *article.UpdateBindLabelsReq) (*article.Response, error)
- func (c *Sdk) ArticleUpdate(in *article.UpdateArticleReq) (*article.Response, error)
- func (c *Sdk) ArticleUpdateStatus(in *article.UpdateStatusReq) (*article.Response, error)
- func (c *Sdk) AuthFail(err error)
- func (c *Sdk) AuthLogin() (*Sdk, error)
- func (c *Sdk) AuthPing() *Sdk
- func (c *Sdk) AuthRefresh() (*Sdk, error)
- func (c *Sdk) AuthSuccess()
- func (c *Sdk) AutoAuth() *Sdk
- func (c *Sdk) AutoRefresh() *Sdk
- func (c *Sdk) CaptchaCheckStatus() *Sdk
- func (c *Sdk) CaptchaGenerate() (*captcha.CaptchaResp, error)
- func (c *Sdk) CaptchaLoadCloudConfig() (*Sdk, error)
- func (c *Sdk) CloudCCaptchaConfigGet(in *cloudc.ConfigGetParams) (*cloudc.CaptchaConfigGetResp, error)
- func (c *Sdk) CloudCCaptchaConfigGetAll() (*cloudc.CaptchaConfigGetAllResp, error)
- func (c *Sdk) CloudCCaptchaConfigSet(in *cloudc.CaptchaConfigSetParams) (*cloudc.ConfigResp, error)
- func (c *Sdk) CloudCCheckStatus() *Sdk
- func (c *Sdk) CloudCEmsConfigGet(in *cloudc.ConfigGetParams) (*cloudc.EmsConfigGetResp, error)
- func (c *Sdk) CloudCEmsConfigGetAll() (*cloudc.EmsConfigGetAllResp, error)
- func (c *Sdk) CloudCEmsConfigSet(in *cloudc.EmsConfigSetParams) (*cloudc.ConfigResp, error)
- func (c *Sdk) CloudCOssConfigGet(in *cloudc.ConfigGetParams) (*cloudc.OssConfigGetResp, error)
- func (c *Sdk) CloudCOssConfigGetAll() (*cloudc.OssConfigGetAllResp, error)
- func (c *Sdk) CloudCOssConfigSet(in *cloudc.OssConfigSetParams) (*cloudc.ConfigResp, error)
- func (c *Sdk) CloudCSlsConfigGet(in *cloudc.ConfigGetParams) (*cloudc.SlsConfigGetResp, error)
- func (c *Sdk) CloudCSlsConfigGetAll() (*cloudc.SlsConfigGetAllResp, error)
- func (c *Sdk) CloudCSlsConfigSet(in *cloudc.SlsConfigSetParams) (*cloudc.ConfigResp, error)
- func (c *Sdk) CloudCSmsConfigGet(in *cloudc.ConfigGetParams) (*cloudc.SmsConfigGetResp, error)
- func (c *Sdk) CloudCSmsConfigGetAll() (*cloudc.SmsConfigGetAllResp, error)
- func (c *Sdk) CloudCSmsConfigSet(in *cloudc.SmsConfigSetParams) (*cloudc.ConfigResp, error)
- func (c *Sdk) CloudCSystemConfigGet(in *cloudc.ConfigGetParams) (*cloudc.SystemConfigGetResp, error)
- func (c *Sdk) CloudCSystemConfigGetAll() (*cloudc.SystemConfigGetAllResp, error)
- func (c *Sdk) CloudCSystemConfigSet(in *cloudc.SystemConfigSetParams) (*cloudc.ConfigResp, error)
- func (c *Sdk) CloudCWechatConfigGet(in *cloudc.ConfigGetParams) (*cloudc.WechatConfigGetResp, error)
- func (c *Sdk) CloudCWechatConfigGetAll() (*cloudc.WechatConfigGetAllResp, error)
- func (c *Sdk) CloudCWechatConfigSet(in *cloudc.WechatConfigSetParams) (*cloudc.ConfigResp, error)
- func (c *Sdk) DeleteTenant(in *tenant.DeleteTenantParams) (*tenant.TenantResp, error)
- func (c *Sdk) EditTenant(in *tenant.EditTenantParams) (*tenant.TenantResp, error)
- func (c *Sdk) EmsCheckStatus() *Sdk
- func (c *Sdk) EmsLoadCloudConfig() (*Sdk, error)
- func (c *Sdk) EmsSendEms(RecipientEmail []string, cc []*ems.Cc, Subject, SendType, SendBody string) (*ems.EmsResp, error)
- func (c *Sdk) InitArticle() *Sdk
- func (c *Sdk) InitAuth() *Sdk
- func (c *Sdk) InitCaptcha() *Sdk
- func (c *Sdk) InitCloudC() *Sdk
- func (c *Sdk) InitEms() *Sdk
- func (c *Sdk) InitLabel() *Sdk
- func (c *Sdk) InitMinisite() *Sdk
- func (c *Sdk) InitOss() *Sdk
- func (c *Sdk) InitSls() *Sdk
- func (c *Sdk) InitSms() *Sdk
- func (c *Sdk) InitSubTenant() *Sdk
- func (c *Sdk) InitWechat() *Sdk
- func (c *Sdk) LabelCheckStatus() *Sdk
- func (c *Sdk) LabelCreate(in *label.CreateLabelReq) (*label.CreateLabelResp, error)
- func (c *Sdk) LabelDelete(in *label.DeleteReq) (*label.Response, error)
- func (c *Sdk) LabelDeleteIds(in *label.DeleteIdsReq) (*label.Response, error)
- func (c *Sdk) LabelQuery(in *label.QueryReq) (*label.QueryLabelResp, error)
- func (c *Sdk) LabelQueryList(in *label.QueryLabelListReq) (*label.QueryLabelListResp, error)
- func (c *Sdk) LabelUpdate(in *label.UpdateLabelReq) (*label.Response, error)
- func (c *Sdk) LabelUpdateStatus(in *label.UpdateStatusReq) (*label.Response, error)
- func (c *Sdk) MinisiteCheckStatus() *Sdk
- func (c *Sdk) MinisiteCreate(in *minisite.CreateMinisiteReq) (*minisite.Response, error)
- func (c *Sdk) MinisiteDelete(in *minisite.DeleteReq) (*minisite.Response, error)
- func (c *Sdk) MinisiteDeleteIds(in *minisite.DeleteIdsReq) (*minisite.Response, error)
- func (c *Sdk) MinisiteQuery(in *minisite.QueryReq) (*minisite.QueryMinisiteResp, error)
- func (c *Sdk) MinisiteQueryList(in *minisite.QueryMinisiteListReq) (*minisite.QueryMinisiteListResp, error)
- func (c *Sdk) MinisiteUpdate(in *minisite.UpdateMinisiteReq) (*minisite.Response, error)
- func (c *Sdk) MinisiteUpdateStatus(in *minisite.UpdateStatusReq) (*minisite.Response, error)
- func (c *Sdk) MinisiteUserCreate(in *minisite.CreateUserReq) (*minisite.Response, error)
- func (c *Sdk) MinisiteUserDelete(in *minisite.DeleteReq) (*minisite.Response, error)
- func (c *Sdk) MinisiteUserDeleteIds(in *minisite.DeleteIdsReq) (*minisite.Response, error)
- func (c *Sdk) MinisiteUserQuery(in *minisite.QueryReq) (*minisite.QueryUserResp, error)
- func (c *Sdk) MinisiteUserQueryList(in *minisite.QueryUserListReq) (*minisite.QueryUserListResp, error)
- func (c *Sdk) MinisiteUserUpdate(in *minisite.UpdateUserReq) (*minisite.Response, error)
- func (c *Sdk) MinisiteUserUpdateStatus(in *minisite.UpdateStatusReq) (*minisite.Response, error)
- func (c *Sdk) NewSlsLogMsg(s *TemplateLog) *sls.Log
- func (c *Sdk) OssCheckStatus() *Sdk
- func (c *Sdk) OssGenerateUploadSign(Filename, UploadDir, CallBack string, IsCallBack bool) (*oss.GenerateUploadSignParamsResp, error)
- func (c *Sdk) OssLoadCloudConfig() (*Sdk, error)
- func (c *Sdk) PwdTenant(in *tenant.EditTenantParams) (*tenant.TenantResp, error)
- func (c *Sdk) SlsCheckStatus() *Sdk
- func (c *Sdk) SlsLoadCloudConfig() (*Sdk, error)
- func (c *Sdk) SlsSendLog(log *sls.Log, sourceIp string) error
- func (c *Sdk) SmsCheckStatus() *Sdk
- func (c *Sdk) SmsLoadCloudConfig() (*Sdk, error)
- func (c *Sdk) SmsSendSms(phone string, args ...any) (*sms.SmsResp, error)
- func (c *Sdk) SonyCtx() context.Context
- func (c *Sdk) SubTenantCheckStatus() *Sdk
- func (c *Sdk) TenantInfo(in *tenant.TenantInfoParams) (*tenant.TenantInfoResp, error)
- func (c *Sdk) TenantList(in *tenant.TenantListParams) (*tenant.TenantListResp, error)
- func (c *Sdk) WechatCheckStatus() *Sdk
- func (c *Sdk) WechatCode2Token(in *wechat.CodeReq) (*wechat.CodeResp, error)
- func (c *Sdk) WechatLoadCloudConfig() (*Sdk, error)
- func (c *Sdk) WechatOfficialAccountAccessToken(in *wechat.OaKeyReq) (*wechat.OaAccessTokenResp, error)
- func (c *Sdk) WechatOfficialAccountJsApiTicket(in *wechat.OaKeyReq) (*wechat.OaJsApiTicketResp, error)
- func (c *Sdk) WechatRefreshUserToken(in *wechat.RefreshReq) (*wechat.RefreshResp, error)
- func (c *Sdk) WechatUserToken2UserInfo(in *wechat.TokenReq) (*wechat.UserInfoResp, error)
- func (c *Sdk) WechatWebAutoRedirectWechat(in *wechat.WebAutoRedirectReq) (*wechat.WebAutoRedirectResp, error)
- func (c *Sdk) WechatWebRedirectWechat(in *wechat.WebRedirectReq) (*wechat.WebRedirectResp, error)
- func (c *Sdk) WithConfig(config *Config) *Sdk
- func (c *Sdk) WithContext(ctx context.Context) context.Context
- func (c *Sdk) WithDeadline(Deadline int64) *Sdk
- type Sls
- type Sms
- type SubTenant
- type TemplateLog
- type Wechat
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Article ¶
type Article struct { article.ArticleRpcServiceClient Num int64 Status int Retry int }
func NewArticle ¶
func NewArticle(RpcClientConf *zrpc.RpcClientConf) *Article
type Auth ¶
type Auth struct { shield.ShieldServiceClient Num int64 Timeout time.Duration }
func NewAuth ¶
func NewAuth(RpcClientConf *zrpc.RpcClientConf) *Auth
func (*Auth) RequestLogin ¶
func (c *Auth) RequestLogin(AccessKeyId, AccessKeySecret string) (*shield.AuthApiResp, error)
func (*Auth) RequestRefresh ¶
func (c *Auth) RequestRefresh(AccessKeyId, RefreshToken string) (*shield.RefreshTokenResp, error)
type Captcha ¶ added in v0.0.2
type Captcha struct { captcha.CaptchaRpcServiceClient Num int64 Status int Retry int Configs map[string]*cloudc.ModelCaptchaConfig UsingConfig *cloudc.ModelCaptchaConfig }
func NewCaptcha ¶ added in v0.0.2
func NewCaptcha(RpcClientConf *zrpc.RpcClientConf) *Captcha
func (*Captcha) GetAllConfigs ¶ added in v0.0.2
func (s *Captcha) GetAllConfigs() map[string]*cloudc.ModelCaptchaConfig
type CloudC ¶
type CloudC struct { cloudc.CloudCServiceClient Num int64 Status int Retry int }
func NewCloudC ¶
func NewCloudC(RpcClientConf *zrpc.RpcClientConf) *CloudC
type Config ¶
type Config struct { AutoRetry bool `default:"false"` MaxRetryTimes int `default:"3"` Debug bool `default:"false"` Timeout time.Duration `default:"5000"` AutoRefreshToken bool `default:"true"` AccessKeyId string AccessKeySecret string RpcClientConf *zrpc.RpcClientConf }
func DefaultConfig ¶
func (*Config) WithAccessKeyId ¶
func (*Config) WithAccessKeySecret ¶
func (*Config) WithAutoRefreshToken ¶
func (*Config) WithAutoRetry ¶
func (*Config) WithMaxRetryTimes ¶
type Ems ¶
type Ems struct { ems.EmsRpcServiceClient Num int64 Status int Retry int Configs map[string]*cloudc.ModelEmsConfig UsingConfig *cloudc.ModelEmsConfig }
func NewEms ¶
func NewEms(RpcClientConf *zrpc.RpcClientConf) *Ems
func (*Ems) GetAllConfigs ¶
func (s *Ems) GetAllConfigs() map[string]*cloudc.ModelEmsConfig
type Label ¶ added in v0.0.17
type Label struct { label.LabelRpcServiceClient Num int64 Status int Retry int }
func NewLabel ¶ added in v0.0.17
func NewLabel(RpcClientConf *zrpc.RpcClientConf) *Label
type Minisite ¶ added in v0.0.28
type Minisite struct { minisite.MinisiteRpcServiceClient Num int64 Status int Retry int }
func NewMinisite ¶ added in v0.0.28
func NewMinisite(RpcClientConf *zrpc.RpcClientConf) *Minisite
type Oss ¶
type Oss struct { oss.OssRpcServiceClient Num int64 Status int Retry int Configs map[string]*cloudc.ModelOssConfig UsingConfig *cloudc.ModelOssConfig }
func NewOss ¶
func NewOss(RpcClientConf *zrpc.RpcClientConf) *Oss
func (*Oss) GetAllConfigs ¶
func (s *Oss) GetAllConfigs() map[string]*cloudc.ModelOssConfig
type Sdk ¶
type Sdk struct { Config *Config Status int AccessToken string AccessTokenExpires int64 RefreshToken string RefreshTokenExpires int64 RetryTimes int Deadline int64 Context context.Context Auth *Auth Article *Article SubTenant *SubTenant CloudC *CloudC Ems *Ems Oss *Oss Sms *Sms Wechat *Wechat Captcha *Captcha Label *Label Sls *Sls Minisite *Minisite }
func (*Sdk) AddTenant ¶
func (c *Sdk) AddTenant(in *tenant.EditTenantParams) (*tenant.AddTenantResp, error)
func (*Sdk) ArticleBindArticleLabels ¶ added in v0.0.18
func (*Sdk) ArticleCheckStatus ¶
func (*Sdk) ArticleCreate ¶ added in v0.0.16
func (c *Sdk) ArticleCreate(in *article.CreateArticleReq) (*article.CreateArticleResp, error)
func (*Sdk) ArticleDelete ¶ added in v0.0.16
func (*Sdk) ArticleDeleteIds ¶ added in v0.0.16
func (*Sdk) ArticleQuery ¶ added in v0.0.16
func (*Sdk) ArticleQueryList ¶ added in v0.0.16
func (c *Sdk) ArticleQueryList(in *article.QueryArticleListReq) (*article.QueryArticleListResp, error)
func (*Sdk) ArticleUnBindArticleLabels ¶ added in v0.0.18
func (*Sdk) ArticleUpdate ¶ added in v0.0.16
func (*Sdk) ArticleUpdateStatus ¶ added in v0.0.16
func (*Sdk) AuthRefresh ¶
func (*Sdk) AuthSuccess ¶
func (c *Sdk) AuthSuccess()
func (*Sdk) AutoRefresh ¶
func (*Sdk) CaptchaCheckStatus ¶ added in v0.0.2
func (*Sdk) CaptchaGenerate ¶ added in v0.0.2
func (c *Sdk) CaptchaGenerate() (*captcha.CaptchaResp, error)
func (*Sdk) CaptchaLoadCloudConfig ¶ added in v0.0.2
func (*Sdk) CloudCCaptchaConfigGet ¶ added in v0.0.2
func (c *Sdk) CloudCCaptchaConfigGet(in *cloudc.ConfigGetParams) (*cloudc.CaptchaConfigGetResp, error)
func (*Sdk) CloudCCaptchaConfigGetAll ¶ added in v0.0.2
func (c *Sdk) CloudCCaptchaConfigGetAll() (*cloudc.CaptchaConfigGetAllResp, error)
func (*Sdk) CloudCCaptchaConfigSet ¶ added in v0.0.2
func (c *Sdk) CloudCCaptchaConfigSet(in *cloudc.CaptchaConfigSetParams) (*cloudc.ConfigResp, error)
func (*Sdk) CloudCCheckStatus ¶
func (*Sdk) CloudCEmsConfigGet ¶
func (c *Sdk) CloudCEmsConfigGet(in *cloudc.ConfigGetParams) (*cloudc.EmsConfigGetResp, error)
func (*Sdk) CloudCEmsConfigGetAll ¶
func (c *Sdk) CloudCEmsConfigGetAll() (*cloudc.EmsConfigGetAllResp, error)
func (*Sdk) CloudCEmsConfigSet ¶
func (c *Sdk) CloudCEmsConfigSet(in *cloudc.EmsConfigSetParams) (*cloudc.ConfigResp, error)
func (*Sdk) CloudCOssConfigGet ¶
func (c *Sdk) CloudCOssConfigGet(in *cloudc.ConfigGetParams) (*cloudc.OssConfigGetResp, error)
func (*Sdk) CloudCOssConfigGetAll ¶
func (c *Sdk) CloudCOssConfigGetAll() (*cloudc.OssConfigGetAllResp, error)
func (*Sdk) CloudCOssConfigSet ¶
func (c *Sdk) CloudCOssConfigSet(in *cloudc.OssConfigSetParams) (*cloudc.ConfigResp, error)
func (*Sdk) CloudCSlsConfigGet ¶ added in v0.0.22
func (c *Sdk) CloudCSlsConfigGet(in *cloudc.ConfigGetParams) (*cloudc.SlsConfigGetResp, error)
func (*Sdk) CloudCSlsConfigGetAll ¶ added in v0.0.22
func (c *Sdk) CloudCSlsConfigGetAll() (*cloudc.SlsConfigGetAllResp, error)
func (*Sdk) CloudCSlsConfigSet ¶ added in v0.0.22
func (c *Sdk) CloudCSlsConfigSet(in *cloudc.SlsConfigSetParams) (*cloudc.ConfigResp, error)
func (*Sdk) CloudCSmsConfigGet ¶
func (c *Sdk) CloudCSmsConfigGet(in *cloudc.ConfigGetParams) (*cloudc.SmsConfigGetResp, error)
func (*Sdk) CloudCSmsConfigGetAll ¶
func (c *Sdk) CloudCSmsConfigGetAll() (*cloudc.SmsConfigGetAllResp, error)
func (*Sdk) CloudCSmsConfigSet ¶
func (c *Sdk) CloudCSmsConfigSet(in *cloudc.SmsConfigSetParams) (*cloudc.ConfigResp, error)
func (*Sdk) CloudCSystemConfigGet ¶ added in v0.0.10
func (c *Sdk) CloudCSystemConfigGet(in *cloudc.ConfigGetParams) (*cloudc.SystemConfigGetResp, error)
func (*Sdk) CloudCSystemConfigGetAll ¶ added in v0.0.10
func (c *Sdk) CloudCSystemConfigGetAll() (*cloudc.SystemConfigGetAllResp, error)
func (*Sdk) CloudCSystemConfigSet ¶ added in v0.0.10
func (c *Sdk) CloudCSystemConfigSet(in *cloudc.SystemConfigSetParams) (*cloudc.ConfigResp, error)
func (*Sdk) CloudCWechatConfigGet ¶
func (c *Sdk) CloudCWechatConfigGet(in *cloudc.ConfigGetParams) (*cloudc.WechatConfigGetResp, error)
func (*Sdk) CloudCWechatConfigGetAll ¶
func (c *Sdk) CloudCWechatConfigGetAll() (*cloudc.WechatConfigGetAllResp, error)
func (*Sdk) CloudCWechatConfigSet ¶
func (c *Sdk) CloudCWechatConfigSet(in *cloudc.WechatConfigSetParams) (*cloudc.ConfigResp, error)
func (*Sdk) DeleteTenant ¶
func (c *Sdk) DeleteTenant(in *tenant.DeleteTenantParams) (*tenant.TenantResp, error)
func (*Sdk) EditTenant ¶
func (c *Sdk) EditTenant(in *tenant.EditTenantParams) (*tenant.TenantResp, error)
func (*Sdk) EmsCheckStatus ¶
func (*Sdk) EmsLoadCloudConfig ¶
func (*Sdk) EmsSendEms ¶
func (*Sdk) InitArticle ¶
func (*Sdk) InitCaptcha ¶ added in v0.0.2
func (*Sdk) InitCloudC ¶
func (*Sdk) InitMinisite ¶ added in v0.0.28
func (*Sdk) InitSubTenant ¶
func (*Sdk) InitWechat ¶
func (*Sdk) LabelCheckStatus ¶ added in v0.0.17
func (*Sdk) LabelCreate ¶ added in v0.0.13
func (c *Sdk) LabelCreate(in *label.CreateLabelReq) (*label.CreateLabelResp, error)
func (*Sdk) LabelDelete ¶ added in v0.0.13
func (*Sdk) LabelDeleteIds ¶ added in v0.0.13
func (*Sdk) LabelQuery ¶ added in v0.0.13
func (*Sdk) LabelQueryList ¶ added in v0.0.13
func (c *Sdk) LabelQueryList(in *label.QueryLabelListReq) (*label.QueryLabelListResp, error)
func (*Sdk) LabelUpdate ¶ added in v0.0.13
func (*Sdk) LabelUpdateStatus ¶ added in v0.0.13
func (*Sdk) MinisiteCheckStatus ¶ added in v0.0.28
func (*Sdk) MinisiteCreate ¶ added in v0.0.28
func (*Sdk) MinisiteDelete ¶ added in v0.0.28
func (*Sdk) MinisiteDeleteIds ¶ added in v0.0.28
func (*Sdk) MinisiteQuery ¶ added in v0.0.28
func (*Sdk) MinisiteQueryList ¶ added in v0.0.28
func (c *Sdk) MinisiteQueryList(in *minisite.QueryMinisiteListReq) (*minisite.QueryMinisiteListResp, error)
func (*Sdk) MinisiteUpdate ¶ added in v0.0.28
func (*Sdk) MinisiteUpdateStatus ¶ added in v0.0.28
func (*Sdk) MinisiteUserCreate ¶ added in v0.0.28
func (*Sdk) MinisiteUserDelete ¶ added in v0.0.28
func (*Sdk) MinisiteUserDeleteIds ¶ added in v0.0.28
func (*Sdk) MinisiteUserQuery ¶ added in v0.0.28
func (*Sdk) MinisiteUserQueryList ¶ added in v0.0.28
func (c *Sdk) MinisiteUserQueryList(in *minisite.QueryUserListReq) (*minisite.QueryUserListResp, error)
func (*Sdk) MinisiteUserUpdate ¶ added in v0.0.28
func (*Sdk) MinisiteUserUpdateStatus ¶ added in v0.0.28
func (*Sdk) NewSlsLogMsg ¶ added in v0.0.25
func (c *Sdk) NewSlsLogMsg(s *TemplateLog) *sls.Log
func (*Sdk) OssCheckStatus ¶
func (*Sdk) OssGenerateUploadSign ¶
func (*Sdk) OssLoadCloudConfig ¶
func (*Sdk) PwdTenant ¶
func (c *Sdk) PwdTenant(in *tenant.EditTenantParams) (*tenant.TenantResp, error)
func (*Sdk) SlsCheckStatus ¶ added in v0.0.25
func (*Sdk) SlsLoadCloudConfig ¶ added in v0.0.25
func (*Sdk) SlsSendLog ¶ added in v0.0.25
func (*Sdk) SmsCheckStatus ¶
func (*Sdk) SmsLoadCloudConfig ¶
func (*Sdk) SubTenantCheckStatus ¶
func (*Sdk) TenantInfo ¶
func (c *Sdk) TenantInfo(in *tenant.TenantInfoParams) (*tenant.TenantInfoResp, error)
func (*Sdk) TenantList ¶
func (c *Sdk) TenantList(in *tenant.TenantListParams) (*tenant.TenantListResp, error)
func (*Sdk) WechatCheckStatus ¶
func (*Sdk) WechatCode2Token ¶ added in v0.0.10
func (*Sdk) WechatLoadCloudConfig ¶
func (*Sdk) WechatOfficialAccountAccessToken ¶ added in v0.0.3
func (*Sdk) WechatOfficialAccountJsApiTicket ¶ added in v0.0.24
func (*Sdk) WechatRefreshUserToken ¶ added in v0.0.10
func (c *Sdk) WechatRefreshUserToken(in *wechat.RefreshReq) (*wechat.RefreshResp, error)
func (*Sdk) WechatUserToken2UserInfo ¶ added in v0.0.10
func (*Sdk) WechatWebAutoRedirectWechat ¶
func (c *Sdk) WechatWebAutoRedirectWechat(in *wechat.WebAutoRedirectReq) (*wechat.WebAutoRedirectResp, error)
func (*Sdk) WechatWebRedirectWechat ¶
func (c *Sdk) WechatWebRedirectWechat(in *wechat.WebRedirectReq) (*wechat.WebRedirectResp, error)
func (*Sdk) WithConfig ¶
func (*Sdk) WithDeadline ¶ added in v0.0.11
type Sls ¶ added in v0.0.25
type Sls struct { Producer *producer.Producer Num int64 Status int Retry int Configs map[string]*cloudc.ModelSlsConfig UsingConfig *cloudc.ModelSlsConfig }
func (*Sls) GetAllConfigs ¶ added in v0.0.25
func (s *Sls) GetAllConfigs() map[string]*cloudc.ModelSlsConfig
type Sms ¶
type Sms struct { sms.SmsRpcServiceClient Num int64 Status int Retry int Configs map[string]*cloudc.ModelSmsConfig UsingConfig *cloudc.ModelSmsConfig }
func NewSms ¶
func NewSms(RpcClientConf *zrpc.RpcClientConf) *Sms
func (*Sms) GetAllConfigs ¶
func (s *Sms) GetAllConfigs() map[string]*cloudc.ModelSmsConfig
type SubTenant ¶
type SubTenant struct { tenant.TenantRpcServiceClient Num int64 Status int Retry int }
func NewSubTenant ¶
func NewSubTenant(RpcClientConf *zrpc.RpcClientConf) *SubTenant
type TemplateLog ¶ added in v0.0.25
type TemplateLog struct { AppName string `json:"app_name"` AppPlatform string `json:"app_platform"` RequestId string `json:"requestId"` Time string `json:"time"` Path string `json:"path"` Method string `json:"method"` Body string `json:"body"` Message string `json:"message"` UserId string `json:"user_id"` UniqueId string `json:"unique_id"` }
type Wechat ¶
type Wechat struct { wechat.WechatRpcServiceClient Num int64 Status int Retry int Configs map[string]*cloudc.ModelWechatConfig UsingConfig *cloudc.ModelWechatConfig }
func NewWechat ¶
func NewWechat(RpcClientConf *zrpc.RpcClientConf) *Wechat
func (*Wechat) GetAllConfigs ¶
func (s *Wechat) GetAllConfigs() map[string]*cloudc.ModelWechatConfig
Source Files ¶
Click to show internal directories.
Click to hide internal directories.