teaconst

package
v0.5.6 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2022 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Version = "0.5.6"

	ProductName   = "Edge API"
	ProcessName   = "edge-api"
	ProductNameZH = "Edge"

	Role = "api"

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

	ErrServer = "服务器出了点小问题,请稍后重试"

	SystemdServiceName = "edge-api"

	NodeVersion          = "0.5.6"
	UserNodeVersion      = "0.5.6"
	DNSNodeVersion       = "0.2.8"
	AuthorityNodeVersion = "0.0.2"
	MonitorNodeVersion   = "0.0.4"
	ReportNodeVersion    = "0.1.1"

	// SQLVersion SQL版本号
	SQLVersion = "2"
)
View Source
const BuildCommunity = true
View Source
const BuildPlus = false
View Source
const Tag = "community"

Variables

View Source
var (
	IsPlus             = false
	MaxNodes     int32 = 0
	NodeId       int64 = 0
	Debug              = false
	InstanceCode       = fmt.Sprintf("%x", sha1.Sum([]byte("INSTANCE"+types.String(time.Now().UnixNano())+"@"+types.String(rands.Int64()))))
)

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