Documentation
¶
Index ¶
- func AESDecode(ciphertextstr, keystr, ivstr string)
- func AESEncode(plaintextstr string, args ...string)
- 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 GetAESIv() []byte
- func GetAESIvStr() string
- func GetAESKey() []byte
- func GetAESKeyStr() 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 GetAESIvStr ¶ added in v1.0.7
func GetAESIvStr() string
func GetAESKeyStr ¶ added in v1.0.7
func GetAESKeyStr() string
func GetAllSerial ¶ added in v1.0.5
func GetAllSerial() (SerialList []string)
func QRCodeEncode ¶
生成二维码PNG bese64 bytes 前端使用 <img src="data:image/png;base64," + {string(PNG bytes)}/>
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.