cmd

package
v1.4.5 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// EnvNamespace namespace env variable name
	EnvNamespace = "NAMESPACE"
)

Variables

This section is empty.

Functions

func SetupLogger added in v1.2.2

func SetupLogger(json bool, isoTime bool)

Types

type Main

type Main struct {
	Config     *bjcc.Config
	Controller lifecycle.Controller
	Manager    manager.Manager
	// contains filtered or unexported fields
}

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