config

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GB uint64 = 1024 * 1024 * 1024
	MB uint64 = 1024 * 1024
	KB uint64 = 1024
)

Variables

View Source
var (
	BuildDate    string
	BuildVersion string
)

BuildDate: Binary file compilation time BuildVersion: Binary compiled GIT version

View Source
var (
	LevelDB       *leveldb.DB
	Ledis         *ledis.Ledis
	LedisDB       *ledis.DB
	LedisConfig   *lediscfg.Config
	ServerInfo    *info
	RespClientNum int64
)
View Source
View Source
var Delims = []byte("\r\n")
View Source
var RaftConfig rafthub.Config // raft config

Functions

This section is empty.

Types

type ExtInfoFunc

type ExtInfoFunc func() (tit string, metrics []map[string]interface{})

Jump to

Keyboard shortcuts

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