bootstrap

package
v0.0.0-...-ff80121 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2023 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cmd

func Cmd() error

Cmd Bootstrap cmd application

func Web

func Web()

Web Bootstrap web application

Types

type BootFunc

type BootFunc func() error

func (BootFunc) Boot

func (bf BootFunc) Boot() error

type Bootstrapper

type Bootstrapper interface {
	// Name() string
	Boot() error
}

type Launcher

type Launcher struct {
	Boots []Bootstrapper
}

func (*Launcher) Add

func (l *Launcher) Add(boots ...Bootstrapper)

func (*Launcher) Run

func (l *Launcher) Run()

Jump to

Keyboard shortcuts

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