Documentation ¶
Index ¶
- func BarCodeEncode(content string, width, height int) (pngb []byte, err error)
- func Base64Decode(str string, salt ...string) (string, error)
- func Base64Encode(str string, salt ...string) string
- func Base64ImgDataToFile(filepath string, base64data string)
- func GetAllSerial() (SerialList []string)
- func GetBaseBoardID() string
- func GetDiskDriveSN() string
- func QRCodeEncode(content string, level qrcode.RecoveryLevel, size int) (pngb []byte, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BarCodeEncode ¶
生成条码PNG bese64 bytes 前端使用 <img src="data:image/png;base64," + {string(PNG bytes)}/>
func Base64ImgDataToFile ¶ added in v1.0.5
func GetAllSerial ¶ added in v1.0.5
func GetAllSerial() (SerialList []string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.