execution_context

package
v0.0.38 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2023 License: MIT Imports: 9 Imported by: 17

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	Configuration *configuration.ConfigurationService
	Services      *service_provider.ServiceProvider
	Caches        *cache.CacheService
	TokenCache    *jwt_token_cache.JwtTokenCacheProvider
	CorrelationId string
	Environment   string
	IsDevelopment bool
	Debug         bool
	Init          func() error
}

Context entity

func Get

func Get() *Context

func InitNewContext

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

func New

func New() (*Context, error)

func (*Context) Refresh

func (c *Context) Refresh() *Context

func (*Context) SetCorrelationId

func (c *Context) SetCorrelationId(correlationId string) *Context

Jump to

Keyboard shortcuts

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