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) lako.BootLoader
EnvBootLoader for load config files
func EnvBootLoader ¶
func EnvBootLoader(dir string, envFiles ...string) lako.BootLoader
EnvBootLoader for load .env file
Types ¶
type ConsoleBootLoader ¶
type ConsoleBootLoader struct {
Commands []*gcli.Command
}
ConsoleBootLoader struct
func (*ConsoleBootLoader) Boot ¶
func (*ConsoleBootLoader) Boot(app *lako.Application) error
type DBBootLoader ¶
type DBBootLoader struct { }
func (*DBBootLoader) Boot ¶
func (*DBBootLoader) Boot(app *lako.Application) error
type LogBootLoader ¶
type LogBootLoader struct { }
LogBootLoader struct
func (*LogBootLoader) Boot ¶
func (*LogBootLoader) Boot(app *lako.Application) error
type LogrusBootLoader ¶
type LogrusBootLoader struct { }
LogrusBootLoader struct
func (*LogrusBootLoader) Boot ¶
func (lb *LogrusBootLoader) Boot(app *lako.Application) error
Boot Logrus component
Click to show internal directories.
Click to hide internal directories.