boot

package
v0.9.26 Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: MIT Imports: 15 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 {
	// contains filtered or unexported fields
}

Bootstrap 是 starter 的应用启动器

func (*Bootstrap) Run

func (inst *Bootstrap) Run(m application.Module) error

Run 运行

type Options

type Options struct {
	Mode safe.Mode

	Args []string

	Attributes  attributes.Table
	Environment environment.Table
	Parameters  parameters.Table
	Properties  properties.Table
}

Options 包含启动选项

Jump to

Keyboard shortcuts

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