boot

package
v0.0.0-...-367bf2f Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const RFC3339NanoFixed = "2006-01-02T15:04:05.000000000Z07:00"

RFC3339NanoFixed is time.RFC3339Nano with nanoseconds padded using zeros to ensure the formatted time isalways the same number of characters. copy form docker codes.

Variables

This section is empty.

Functions

func ConfigBootLoader

func ConfigBootLoader(confFiles ...string) nako.BootLoader

EnvBootLoader for load config files

func EnvBootLoader

func EnvBootLoader(dir string, envFiles ...string) nako.BootLoader

EnvBootLoader for load .env file

Types

type ConsoleBootLoader

type ConsoleBootLoader struct {
	Commands []*gcli.Command
}

ConsoleBootLoader struct

func (*ConsoleBootLoader) Boot

type DBBootLoader

type DBBootLoader struct {
}

func (*DBBootLoader) Boot

func (*DBBootLoader) Boot(app *nako.Application) error

type LogBootLoader

type LogBootLoader struct {
}

LogBootLoader struct

func (*LogBootLoader) Boot

func (*LogBootLoader) Boot(app *nako.Application) error

type LogrusBootLoader

type LogrusBootLoader struct {
}

LogrusBootLoader struct

func (*LogrusBootLoader) Boot

func (lb *LogrusBootLoader) Boot(app *nako.Application) error

Boot Logrus component

Jump to

Keyboard shortcuts

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