kit

package
v0.0.0-...-78514e9 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2024 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 LicenseChecker

type LicenseChecker struct {
}

func NewLicenseChecker

func NewLicenseChecker() *LicenseChecker

func (LicenseChecker) Verify

func (l LicenseChecker) Verify() error

type LocalFileLogLogger

type LocalFileLogLogger struct {
	Logger       *logrus.Logger
	CommonFields map[string]interface{}
}

func (LocalFileLogLogger) Error

func (s LocalFileLogLogger) Error(msg string, args ...map[string]interface{})

func (LocalFileLogLogger) ErrorF

func (s LocalFileLogLogger) ErrorF(msg string, err error, args ...map[string]interface{})

func (LocalFileLogLogger) Info

func (s LocalFileLogLogger) Info(msg string, args ...map[string]interface{})

func (LocalFileLogLogger) NewError

func (s LocalFileLogLogger) NewError(msg string, args ...map[string]interface{}) error

func (LocalFileLogLogger) NewErrorF

func (s LocalFileLogLogger) NewErrorF(msg string, err error, args ...map[string]interface{}) error

func (LocalFileLogLogger) Success

func (s LocalFileLogLogger) Success(msg string, args ...map[string]interface{}) string

func (LocalFileLogLogger) Warn

func (s LocalFileLogLogger) Warn(msg string, args ...map[string]interface{})

type LocalFileLogProvider

type LocalFileLogProvider struct {
	// contains filtered or unexported fields
}

func NewLocalFileLogProvider

func NewLocalFileLogProvider(env *runtime.Env) (*LocalFileLogProvider, error)

func (LocalFileLogProvider) NewLogger

func (p LocalFileLogProvider) NewLogger(commonField map[string]interface{}) abstract.Logger

type YamlConfigProvider

type YamlConfigProvider struct {
	// contains filtered or unexported fields
}

func NewYamlConfigProvider

func NewYamlConfigProvider(globalEnv *runtime.Env) (*YamlConfigProvider, error)

func (YamlConfigProvider) GetIntSlice

func (y YamlConfigProvider) GetIntSlice(key string) []int

func (YamlConfigProvider) GetValue

func (y YamlConfigProvider) GetValue(key string) interface{}

func (YamlConfigProvider) PackConf

func (y YamlConfigProvider) PackConf(cfgId string, obj interface{}) error

func (YamlConfigProvider) PackConfToMap

func (y YamlConfigProvider) PackConfToMap(cfgId string) map[string]interface{}

Jump to

Keyboard shortcuts

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