# Functions
NewApiCmd 创建并返回一个新的 ApiCmd 实例。 这个函数初始化了 ApiCmd 结构体,并设置了相关的配置和上下文。.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewRootCmd 创建一个新的根命令实例,支持通过选项函数进行配置。.
No description provided by the author
No description provided by the author
No description provided by the author
WithConfigMap 为命令选项添加一个配置映射。.
WithCronTaskLogName 为命令选项添加一个预设的日志前缀名,用于定时任务日志。.
WithLogName 为命令选项指定一个自定义的日志前缀名。.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
ApiCmd 定义了 API 命令结构体,封装了 API 相关的配置和上下文信息。.
No description provided by the author
No description provided by the author
CmdOpts 定义了命令选项的结构,包括日志前缀名和配置映射。.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RootCmd 结构体定义了根命令的基本配置,包括命令本身、进程名、端口等配置。.
No description provided by the author
No description provided by the author
No description provided by the author