Documentation
¶
Index ¶
- func InitConfig() configs.Config
- func InitLarkClient(cfg configs.Config, logger *zap.Logger) *lark.Client
- func InitLarkMessageDispatcher(cfg configs.Config, log *zap.Logger, db orm.Repo, client *lark.Client) feishuMessage.MessageHandleInterface
- func InitLogDriver(cfg configs.Config) driver.Driver
- func InitLogger(cfg configs.Config, driver driver.Driver) *zap.Logger
- func InitORM(cfg configs.Config) (r orm.Repo)
- func NewRedisClient(cfg configs.Config) redis.Cmdable
- func NewStore(cfg configs.Config, logger *zap.Logger) token.Store[string]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitConfig ¶
func InitLarkMessageDispatcher ¶
func InitLarkMessageDispatcher(cfg configs.Config, log *zap.Logger, db orm.Repo, client *lark.Client) feishuMessage.MessageHandleInterface
处理飞书消息
func NewRedisClient ¶
NewRedisClient redis client Cache
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.