CoreReg

package
v5.1.35 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//SNApp 应用特征序列
	// 例如:app1.0
	SNApp string
)

Functions

func GetCode

func GetCode() (string, error)

GetCode 获取本机序列号

func GetKey

func GetKey(code string, startTime string, endTime string) string

GetKey 根据code计算获取key结果 param code string 机器代码 param startTime string 开始年月 param endTime string 结束年月 return string 计算结果

func GetKeyAndApp

func GetKeyAndApp(app string, code string, startTime string, endTime string) string

GetKeyAndApp 带有版本序列的生成工具

func Init

func Init(snApp string)

Init 初始化

func Verify

func Verify(key string) bool

Verify 验证序列号是否匹配

Types

This section is empty.

Jump to

Keyboard shortcuts

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