teaconst

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2022 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Version = "0.5.0"

	ProductName = "Edge Node"
	ProcessName = "edge-node"

	Role = "node"

	EncryptKey    = "8f983f4d69b83aaa0d74b21a212f6967"
	EncryptMethod = "aes-256-cfb"

	// SystemdServiceName systemd
	SystemdServiceName = "edge-node"

	AccessLogSockName = "edge-node.accesslog.sock"
)
View Source
const BuildCommunity = true
View Source
const BuildPlus = false
View Source
const Tag = "community"

Variables

View Source
var (
	InTrafficBytes  = uint64(0)
	OutTrafficBytes = uint64(0)

	NodeId       int64 = 0
	NodeIdString       = ""
	IsDaemon           = len(os.Args) > 1 && os.Args[1] == "daemon"

	GlobalProductName = nodeconfigs.DefaultProductName

	IsQuiting    = false // 是否正在退出
	EnableDBStat = false // 是否开启本地数据库统计

	DiskIsFast = false // 是否为高速硬盘
)

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