boot

package
v0.9.5 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2023 License: MIT Imports: 8 Imported by: 2

Documentation

Index

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 包含启动选项

Jump to

Keyboard shortcuts

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