cmd

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// EnvNamespace namespace env variable name
	EnvNamespace = "NAMESPACE"
	// EnvDevMode enable dev mode
	EnvDevMode = "DEV_MODE"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Main

type Main struct {
	Config  *bjcc.Config
	Cache   lifecycle.Cache
	Manager manager.Manager
}

Main struct

func Setup

func Setup() *Main

Setup setup main

func (*Main) CustomConfigString

func (m *Main) CustomConfigString(name string) string

CustomConfigString get a custom config value string

func (*Main) CustomConfigValue

func (m *Main) CustomConfigValue(name string) interface{}

CustomConfigValue get a custom config value

func (*Main) Start

func (m *Main) Start(runnables ...manager.Runnable)

Start start main

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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