teaconst

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Version = "1.3.5"

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

	GlobalProductName = "GoEdge"

	Role = "api"

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

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

	SystemdServiceName = "edge-api"

	NodeVersion = "1.3.5"
)
View Source
const BuildCommunity = true
View Source
const BuildPlus = false
View Source
const (
	// DefaultMaxNodes 节点数限制
	DefaultMaxNodes int32 = 50
)
View Source
const Tag = "community"

Variables

View Source
var (
	IsPlus             = false
	Edition            = ""
	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()))))
	IsMain             = checkMain()
)

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