core

package
v1.7.4 Latest Latest
Warning

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

Go to latest
Published: May 19, 2025 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	// contains filtered or unexported fields
}

func New

func New(param *config.Application) (application *Application)

func (*Application) Run

func (a *Application) Run(constructor runtime.Constructor)

Run 启动应用程序

type Booter added in v1.6.8

type Booter interface {
	// Boot 启动
	Boot(ctx context.Context) error
}

Booter 启动器,全局只能有一个启动器,且只能返回 Booter 才能被正确的启动

Directories

Path Synopsis
internal
get

Jump to

Keyboard shortcuts

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