machineid

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

用于生成MachineID,MachineID 当前机器的id,使用机器第一张网卡的可用ip地址构造

Index

Constants

This section is empty.

Variables

View Source
var MachineID uint16 = 0

MachineID 当前机器的id

View Source
var MachineIDStr = GetMachineID()

Functions

func GetMachineID

func GetMachineID() string

GetMachineID 获取生成器的MachineID

Types

This section is empty.

Jump to

Keyboard shortcuts

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