Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Clients ¶
type Clients struct { WxOfficial *wxClient.WxOfficialAccount MiniProgram *wxClient.MiniProgram DingMini *dingClient.DingTalk Config *relationDB.SysTenantApp }
type ClientsManage ¶
func NewClients ¶
func NewClients(c config.Config) *ClientsManage
func (*ClientsManage) ClearClients ¶
func (c *ClientsManage) ClearClients(ctx context.Context, appCode string) error
func (*ClientsManage) GetClients ¶
type ServiceContext ¶
type ServiceContext struct { Config config.Config ProjectID *utils.SnowFlake AreaID *utils.SnowFlake UserID *utils.SnowFlake Slot *cache.Slot OssClient *oss.Client Store kv.Store PwdCheck *cache.PwdCheck Captcha *cache.Captcha Cm *ClientsManage FastEvent *eventBus.FastEvent UserTokenInfo *cache.UserToken TenantCache *caches.Cache[tenant.Info, string] TenantConfigCache *caches.Cache[sys.TenantConfig, string] ProjectCache *caches.Cache[sys.ProjectInfo, int64] UserCache *caches.Cache[sys.UserInfo, int64] ApiCache *caches.Cache[relationDB.SysApiInfo, string] RoleAccessCache *caches.Cache[map[int64]struct{}, string] Sms *smsClient.Sms }
func NewServiceContext ¶
func NewServiceContext(c config.Config) *ServiceContext
Click to show internal directories.
Click to hide internal directories.