Documentation
¶
Overview ¶
Package task 提供任务执行器的核心应用逻辑。 包含任务的初始化、配置加载和运行时管理等功能。
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet( applog.NewLogger, )
ProviderSet 是 wire 的依赖注入提供者集合。 包含了创建应用实例所需的所有依赖。
Functions ¶
func NewServiceManager ¶ added in v0.0.5
NewServiceManager 创建服务管理器。
参数:
- configPath:配置文件路径。
返回:
- *serviceManager:服务管理器实例。
- error:初始化过程中可能发生的错误。
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.