executionctx

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
}

func GetConfigService

func GetConfigService() *Configuration

func NewConfigService

func NewConfigService() *Configuration

func (*Configuration) Clear

func (c *Configuration) Clear()

func (*Configuration) Get

func (c *Configuration) Get(key string) interface{}

func (*Configuration) GetBase64

func (c *Configuration) GetBase64(key string) string

func (*Configuration) GetBool

func (c *Configuration) GetBool(key string) bool

func (*Configuration) GetFloat

func (c *Configuration) GetFloat(key string) float64

func (*Configuration) GetInt

func (c *Configuration) GetInt(key string) int

func (*Configuration) GetString

func (c *Configuration) GetString(key string) string

func (*Configuration) UpsertKey

func (c *Configuration) UpsertKey(key string, value interface{}) error

func (*Configuration) UpsertKeys

func (c *Configuration) UpsertKeys(values map[string]interface{}) []error

type Context

type Context struct {
	Configuration *Configuration
	CorrelationId string
	Environment   string
	IsDevelopment bool
	Debug         bool
	Init          func() error
}

Context entity

func GetContext

func GetContext() *Context

func InitNewContext

func InitNewContext(init func() error) (*Context, error)

func NewContext

func NewContext() (*Context, error)

type ServiceProvider

type ServiceProvider struct {
	Context *Context
	Version *version.Version
	Logger  *log.Logger
}

func GetServiceProvider

func GetServiceProvider() *ServiceProvider

func NewServiceProvider

func NewServiceProvider() *ServiceProvider

Jump to

Keyboard shortcuts

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