launcher

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IJob

type IJob interface {
	Appname() string
	Run() error
}

type IShutdown

type IShutdown interface {
	Shutdown(ctx context.Context) error
}

type Launcher

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

func (*Launcher) Launch

func (la *Launcher) Launch(ctx context.Context, jobs ...IJob)

Launch 启动程序

Jump to

Keyboard shortcuts

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