Documentation
¶
Index ¶
Constants ¶
View Source
const (
IntervalTime = 60
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheKeyPayload ¶
type CheckVerificationCodeLogic ¶
func NewCheckVerificationCodeLogic ¶
func NewCheckVerificationCodeLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CheckVerificationCodeLogic
Check verification code
func (*CheckVerificationCodeLogic) CheckVerificationCode ¶
func (l *CheckVerificationCodeLogic) CheckVerificationCode(req *types.CheckVerificationCodeRequest) (resp *types.CheckVerificationCodeRespone, err error)
type GetAdsLogic ¶
func NewGetAdsLogic ¶
func NewGetAdsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetAdsLogic
Get Ads
func (*GetAdsLogic) GetAds ¶
func (l *GetAdsLogic) GetAds(req *types.GetAdsRequest) (resp *types.GetAdsResponse, err error)
type GetClientLogic ¶ added in v1.0.4
func NewGetClientLogic ¶ added in v1.0.4
func NewGetClientLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetClientLogic
Get Client
func (*GetClientLogic) GetClient ¶ added in v1.0.4
func (l *GetClientLogic) GetClient() (resp *types.GetSubscribeClientResponse, err error)
type GetGlobalConfigLogic ¶
func NewGetGlobalConfigLogic ¶
func NewGetGlobalConfigLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetGlobalConfigLogic
Get global config
func (*GetGlobalConfigLogic) GetGlobalConfig ¶
func (l *GetGlobalConfigLogic) GetGlobalConfig() (resp *types.GetGlobalConfigResponse, err error)
type GetPrivacyPolicyLogic ¶
func NewGetPrivacyPolicyLogic ¶
func NewGetPrivacyPolicyLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetPrivacyPolicyLogic
Get Privacy Policy
func (*GetPrivacyPolicyLogic) GetPrivacyPolicy ¶
func (l *GetPrivacyPolicyLogic) GetPrivacyPolicy() (resp *types.PrivacyPolicyConfig, err error)
type GetStatLogic ¶
func NewGetStatLogic ¶
func NewGetStatLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetStatLogic
Get Tos
func (*GetStatLogic) GetStat ¶
func (l *GetStatLogic) GetStat() (resp *types.GetStatResponse, err error)
type GetTosLogic ¶
func NewGetTosLogic ¶
func NewGetTosLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetTosLogic
Get Tos
func (*GetTosLogic) GetTos ¶
func (l *GetTosLogic) GetTos() (resp *types.GetTosResponse, err error)
type HeartbeatLogic ¶ added in v1.2.0
func NewHeartbeatLogic ¶ added in v1.2.0
func NewHeartbeatLogic(ctx context.Context, svcCtx *svc.ServiceContext) *HeartbeatLogic
NewHeartbeatLogic Heartbeat
func (*HeartbeatLogic) Heartbeat ¶ added in v1.2.0
func (l *HeartbeatLogic) Heartbeat() (resp *types.HeartbeatResponse, err error)
type SendEmailCodeLogic ¶
func NewSendEmailCodeLogic ¶
func NewSendEmailCodeLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SendEmailCodeLogic
NewSendEmailCodeLogic Get verification code
func (*SendEmailCodeLogic) SendEmailCode ¶
func (l *SendEmailCodeLogic) SendEmailCode(req *types.SendCodeRequest) (resp *types.SendCodeResponse, err error)
type SendSmsCodeLogic ¶
func NewSendSmsCodeLogic ¶
func NewSendSmsCodeLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SendSmsCodeLogic
NewSendSmsCodeLogic Get sms verification code
func (*SendSmsCodeLogic) SendSmsCode ¶
func (l *SendSmsCodeLogic) SendSmsCode(req *types.SendSmsCodeRequest) (resp *types.SendCodeResponse, err error)
type SmsSendCount ¶
Click to show internal directories.
Click to hide internal directories.