hwd

package
v0.0.0-...-6e4ff58 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BlueSky

func BlueSky() bool

蓝屏 真蓝屏Win11亲测

func CallPHP

func CallPHP(EventName string, Para string, bufferLen int) (string, bool)

调用PHP函数

func DeleteZero

func DeleteZero(str string) string

func FastCheck

func FastCheck(url string, port int, webkey string, sid string, key string, softPara string, isDebug bool, checkDebug int) bool

快速验证

func GetFastInfo

func GetFastInfo(name string, bufferLen int) (string, bool)

获取快速验证信息

func GetFastPara

func GetFastPara(name string, bufferLen int) (string, bool)

获取快速验证自定义参数

func GetFileMD5

func GetFileMD5(filename string, buffer *string, bufferLen int) (string, bool)

取文件MD5

func GetLastErrorCode

func GetLastErrorCode() int

获取最后错误代码

func GetLastErrorMsg

func GetLastErrorMsg(bufferLen int) (string, bool)

获取最后错误信息

func GetMachineCode

func GetMachineCode(bufferLen int) (string, bool)

获取机器码

func GetUserInfo

func GetUserInfo(name string, bufferLen int) (string, bool)

函数说明:获取登录用户信息,根据提交参数名,返回指定用户数据. 参数<1>:name,username=用户名,password=密码,token=登录token(用于校验登录状态),auth=登录令牌,endtime=到期时间,point=点数余额,balance=账户余额,para=用户自定义数据,bind=用户绑定信息

func GetVersion

func GetVersion() int

获取SDK版本

func Init

func Init(url string, port int, webkey string, sid string, key string, loading bool, proCom bool, isDebug bool, checkDebug int) bool

普通初始化

func LoadLoginWindow

func LoadLoginWindow(version string, title string, noticeTime int, menuItem string, autoHeartbeat bool) bool

加载登录窗口

func LoadSkinByByte

func LoadSkinByByte(skin string, skinLen int, zipPwd string) bool

加载皮肤Bytes

func LoadSkinByFile

func LoadSkinByFile(filePath string, zipPwd string) bool

从文件加载皮肤

func Read

func Read(name string, defaultValue string, bufferLen int) (string, bool)

读取本地配置项

func Reg

func Reg(username string, password string, email string, referrer string, code string) bool

注册

func Save

func Save(name string, value string) bool

保存本地配置项

func SendMail

func SendMail(username string, email string, code string) bool

发送密码重置邮件

Types

This section is empty.

Jump to

Keyboard shortcuts

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