constants

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppName    = "Bark"
	AppVersion = "1.0.0"
)
View Source
const (
	DefaultLogCode        = "000000"
	DefaultLogLevel       = "INFO"
	DefaultLogMessage     = "_no_msg_supplied_"
	DefaultLogServiceName = "def_svc"
	DefaultLogSessionName = "def_svc_instance"
)
View Source
const (
	Panic   = "PANIC"
	Alert   = "ALERT"
	Error   = "ERROR"
	Warning = "WARN"
	Notice  = "NOTICE"
	Info    = "INFO"
	Debug   = "DEBUG"
)
View Source
const (
	SingleInsertUrl = "insertSingle"
	BatchInsertUrl  = "insertMultiple"
)
View Source
const (
	ServerLogInsertionBatchSizeLarge  = 5_000
	ServerLogInsertionBatchSizeMedium = 1_000
	ServerLogInsertionBatchSizeSmall  = 100
)
View Source
const ClientServerUsageModeDisabled = 0
View Source
const ClientServerUsageModeEmbedded = 2
View Source
const ClientServerUsageModeRemoteServer = 1
View Source
const (
	DisabledServerUrl = "http://0.0.0.0/"
)
View Source
const (
	MaxLogCodelength = 16 // DB constraint
)
View Source
const MoreDataClientParseErrorMessage = "__moreDataClientParseErrorMessage"
View Source
const ServerLogInsertionChannelCapacity = 500_000

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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