consts

package
v0.0.0-...-a3cb3ec Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	D  = 24 * time.Hour
	H  = time.Hour
	M  = time.Minute
	S  = time.Second
	MS = time.Millisecond
	US = time.Microsecond
	NS = time.Nanosecond

	Jan  = 1
	Feb  = 2
	Mar  = 3
	Apr  = 4
	May  = 5
	Jun  = 6
	Jul  = 7
	Aug  = 8
	Sept = 9
	Oct  = 10
	Nov  = 11
	Dec  = 12

	January   = 1
	February  = 2
	March     = 3
	April     = 4
	June      = 6
	July      = 7
	August    = 8
	September = 9
	October   = 10
	November  = 11
	December  = 12
)

Variables

View Source
var (
	DB    *gorm.DB
	RDB   *redis.Client
	ES    *elasticsearch.Client
	Conf  *conf.Conf
	Viper *viper.Viper
)
View Source
var (
	EmailTitleViperRemoteWatch = "viper remote watch"
	EmailTitleViperLocalWatch  = "viper local watch"
	EmailTitlePanic            = "panic"
	EmailTitlePprof            = "pprof"
	EmailTitleKafkaProducer    = "kafka producer"
	EmailTitleKafkaConsumer    = "kafka consumer"
)
View Source
var (
	ESIndexOperationRecord = "operation_record"
)
View Source
var (
	KafkaTopicOperationRecord = "operationRecord"
)
View Source
var (
	PwdPath, _ = os.Getwd()
)

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