task

package
v0.0.0-...-f432fae Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package task 提供任务执行器的核心应用逻辑。 包含任务的初始化、配置加载和运行时管理等功能。

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(
	applog.NewLogger,
)

ProviderSet 是 wire 的依赖注入提供者集合。 包含了创建应用实例所需的所有依赖。

Functions

func Run

func Run()

Run 启动并运行任务执行器。 该函数负责:

  • 解析命令行参数
  • 加载配置文件
  • 设置信号处理
  • 初始化并启动服务

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL