context

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	Config  config.Config
	Flagger *flagger.Flagger
	Logger  zerolog.Logger
	// contains filtered or unexported fields
}

Context is the main application context.

func New

func New() *Context

New creates new Context

func (*Context) Init

func (c *Context) Init()

Init is an initialization function for core context Without these parts of the application we can't start at all

func (*Context) InitConfig

func (c *Context) InitConfig()

func (*Context) SaveConfig

func (c *Context) SaveConfig()

Jump to

Keyboard shortcuts

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