serialnum

package
v0.0.0-...-3a41573 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hardware

type Hardware interface {
	GetHardwareInfos() []string
}

type SerialNum

type SerialNum interface {
	String() string                              //获取序列号串
	Generate(encrypt.EncryptAlg, Hardware) error //创建序列号,value为设备信息序列化后的值,也可以是一个加盐效果的值
	Count() int                                  //有多少序列号
	Slice() []string                             //序列号列表
	Append(string)                               //追加一个序列号
}

func NewSerialNum

func NewSerialNum() SerialNum

Jump to

Keyboard shortcuts

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