Documentation ¶ Index ¶ func Run(m application.Module, opt *Options) error type Bootstrap func (inst *Bootstrap) Run(m application.Module) error type Options Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Run ¶ func Run(m application.Module, opt *Options) error Run 运行指定的模块 Types ¶ type Bootstrap ¶ type Bootstrap struct { Options Options // contains filtered or unexported fields } Bootstrap 是 starter 的应用启动器 func (*Bootstrap) Run ¶ func (inst *Bootstrap) Run(m application.Module) error Run 运行 type Options ¶ type Options struct { Args []string Mode safe.Mode } Options 包含启动选项 Source Files ¶ View all Source files bootstrap.gocontext_loader.gomain_loop_runner.gomodules_loader.gooptions.goproperties_loader.goresources_loader.go Click to show internal directories. Click to hide internal directories.