utils

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version = "dev"
	Commit  = "N/A"
)

Version strings

Functions

func ConvertHashToInput

func ConvertHashToInput(hashValue string) string
Those funcs are internal purpose only.

func: ConvertHashToInput func: UniqueHashValue

func GetVersion

func GetVersion() string

GetVersion returns version information of VATZ

func InitializeChannel added in v1.1.0

func InitializeChannel() chan os.Signal

func InitializeLogger added in v1.1.0

func InitializeLogger()

func MakeUniqueValue

func MakeUniqueValue(pName, pAddr string, pPort int) string

func ParseBool

func ParseBool(str string) bool

func SetGlobalLogLevel added in v1.1.0

func SetGlobalLogLevel(level zerolog.Level)

func SetLog added in v1.1.0

func SetLog(logfile string, defaultFlagLog string) error

func UniqueHashValue

func UniqueHashValue(inputString string) string

Types

type GClientWithPlugin added in v1.1.0

type GClientWithPlugin struct {
	GRPCClient pluginpb.PluginClient
	PluginInfo config.Plugin
}

func GetClients

func GetClients(plugins []config.Plugin) []GClientWithPlugin

Jump to

Keyboard shortcuts

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