Documentation ¶ Index ¶ func Execute() func NewExtractI18nMsgsCmd() *cobra.Command func NewInitDataCmd() *cobra.Command func NewMigrateCmd() *cobra.Command func NewSchedulerCmd() *cobra.Command func NewViewConfigCmd() *cobra.Command func NewWebServerCmd() *cobra.Command Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Execute ¶ func Execute() Execute ... func NewExtractI18nMsgsCmd ¶ func NewExtractI18nMsgsCmd() *cobra.Command NewExtractI18nMsgsCmd ... func NewInitDataCmd ¶ func NewInitDataCmd() *cobra.Command NewInitDataCmd ... func NewMigrateCmd ¶ func NewMigrateCmd() *cobra.Command NewMigrateCmd ... func NewSchedulerCmd ¶ func NewSchedulerCmd() *cobra.Command NewSchedulerCmd 用于创建定时任务调度器启动命令 需要注意的是:为避免重复执行定时任务,需要确保同时只有一个 scheduler 正在运行 如果希望同时启动多个 scheduler 启动,则需要添加诸如 redis / zk 这样的分布式锁 func NewViewConfigCmd ¶ func NewViewConfigCmd() *cobra.Command NewViewConfigCmd ... func NewWebServerCmd ¶ func NewWebServerCmd() *cobra.Command NewWebServerCmd ... Types ¶ This section is empty. Source Files ¶ View all Source files extract_i18n_msgs.goinit.goinit_data.gomake_migration.gomigrate.goroot.goscheduler.goversion.goview_config.gowebserver.go Click to show internal directories. Click to hide internal directories.