Versions in this module Expand all Collapse all v1 v1.0.0 Oct 4, 2026 Changes in this version + const ABOVE_NORMAL_PRIORITY_CLASS — windows/amd64 + const BELOW_NORMAL_PRIORITY_CLASS — windows/amd64 + const BM_CLICK — windows/amd64 + const CF_TEXT — windows/amd64 + const CF_UNICODETEXT — windows/amd64 + const CREATE_EVENT_INITIAL_SET — windows/amd64 + const CREATE_EVENT_MANUAL_RESET — windows/amd64 + const ERROR_ALREADY_EXISTS — windows/amd64 + const EVENT_ALL_ACCESS — windows/amd64 + const EVENT_MODIFY_STATE — windows/amd64 + const EWX_FORCE — windows/amd64 + const EWX_HYBRID_SHUTDOWN — windows/amd64 + const EWX_LOGOFF — windows/amd64 + const EWX_POWEROFF — windows/amd64 + const EWX_REBOOT — windows/amd64 + const EWX_SHUTDOWN — windows/amd64 + const GHND — windows/amd64 + const GW_HWNDNEXT — windows/amd64 + const GW_HWNDPREV — windows/amd64 + const GW_OWNER — windows/amd64 + const HIGH_PRIORITY_CLASS — windows/amd64 + const IDCANCEL — windows/amd64 + const IDLE_PRIORITY_CLASS — windows/amd64 + const IDNO — windows/amd64 + const IDOK — windows/amd64 + const IDYES — windows/amd64 + const INFINITE — windows/amd64 + const INPUT_HARDWARE — windows/amd64 + const INPUT_KEYBOARD — windows/amd64 + const INPUT_MOUSE — windows/amd64 + const KEYEVENTF_EXTENDEDKEY — windows/amd64 + const KEYEVENTF_KEYUP — windows/amd64 + const MAPVK_VK_TO_VSC — windows/amd64 + const MAX_MODULE_NAME32 — windows/amd64 + const MAX_PATH — windows/amd64 + const MB_ICONERROR — windows/amd64 + const MB_ICONINFORMATION — windows/amd64 + const MB_ICONQUESTION — windows/amd64 + const MB_ICONWARNING — windows/amd64 + const MB_OK — windows/amd64 + const MB_OKCANCEL — windows/amd64 + const MB_YESNO — windows/amd64 + const MB_YESNOCANCEL — windows/amd64 + const MOUSEEVENTF_ABSOLUTE — windows/amd64 + const MOUSEEVENTF_LEFTDOWN — windows/amd64 + const MOUSEEVENTF_LEFTUP — windows/amd64 + const MOUSEEVENTF_MIDDLEDOWN — windows/amd64 + const MOUSEEVENTF_MIDDLEUP — windows/amd64 + const MOUSEEVENTF_MOVE — windows/amd64 + const MOUSEEVENTF_RIGHTDOWN — windows/amd64 + const MOUSEEVENTF_RIGHTUP — windows/amd64 + const MOUSEEVENTF_WHEEL — windows/amd64 + const MUTEX_ALL_ACCESS — windows/amd64 + const MUTEX_MODIFY_STATE — windows/amd64 + const NORMAL_PRIORITY_CLASS — windows/amd64 + const PAGE_EXECUTE — windows/amd64 + const PAGE_EXECUTE_READ — windows/amd64 + const PAGE_EXECUTE_READWRITE — windows/amd64 + const PAGE_NOACCESS — windows/amd64 + const PAGE_READONLY — windows/amd64 + const PAGE_READWRITE — windows/amd64 + const PAGE_WRITECOPY — windows/amd64 + const PROCESS_ALL_ACCESS — windows/amd64 + const PROCESS_CREATE_THREAD — windows/amd64 + const PROCESS_QUERY_INFORMATION — windows/amd64 + const PROCESS_QUERY_LIMITED_INFORMATION — windows/amd64 + const PROCESS_TERMINATE — windows/amd64 + const PROCESS_VM_OPERATION — windows/amd64 + const PROCESS_VM_READ — windows/amd64 + const PROCESS_VM_WRITE — windows/amd64 + const REALTIME_PRIORITY_CLASS — windows/amd64 + const SEMAPHORE_ALL_ACCESS — windows/amd64 + const SEMAPHORE_MODIFY_STATE — windows/amd64 + const SE_PRIVILEGE_ENABLED — windows/amd64 + const SM_CXSCREEN — windows/amd64 + const SM_CYSCREEN — windows/amd64 + const SPI_GETSCREENSAVETIMEOUT — windows/amd64 + const SPI_SETSCREENSAVEACTIVE — windows/amd64 + const SPI_SETSCREENSAVETIMEOUT — windows/amd64 + const STILL_ACTIVE — windows/amd64 + const SW_HIDE — windows/amd64 + const SW_MAXIMIZE — windows/amd64 + const SW_MINIMIZE — windows/amd64 + const SW_RESTORE — windows/amd64 + const SW_SHOW — windows/amd64 + const TH32CS_SNAPMODULE — windows/amd64 + const TH32CS_SNAPMODULE32 — windows/amd64 + const TH32CS_SNAPPROCESS — windows/amd64 + const TOKEN_ADJUST_PRIVILEGES — windows/amd64 + const TOKEN_QUERY — windows/amd64 + const VK_0 — windows/amd64 + const VK_1 — windows/amd64 + const VK_2 — windows/amd64 + const VK_3 — windows/amd64 + const VK_4 — windows/amd64 + const VK_5 — windows/amd64 + const VK_6 — windows/amd64 + const VK_7 — windows/amd64 + const VK_8 — windows/amd64 + const VK_9 — windows/amd64 + const VK_A — windows/amd64 + const VK_ADD — windows/amd64 + const VK_APPS — windows/amd64 + const VK_B — windows/amd64 + const VK_BACK — windows/amd64 + const VK_C — windows/amd64 + const VK_CANCEL — windows/amd64 + const VK_CAPITAL — windows/amd64 + const VK_CLEAR — windows/amd64 + const VK_CONTROL — windows/amd64 + const VK_D — windows/amd64 + const VK_DECIMAL — windows/amd64 + const VK_DELETE — windows/amd64 + const VK_DIVIDE — windows/amd64 + const VK_DOWN — windows/amd64 + const VK_E — windows/amd64 + const VK_END — windows/amd64 + const VK_ESCAPE — windows/amd64 + const VK_EXECUTE — windows/amd64 + const VK_F — windows/amd64 + const VK_F1 — windows/amd64 + const VK_F10 — windows/amd64 + const VK_F11 — windows/amd64 + const VK_F12 — windows/amd64 + const VK_F2 — windows/amd64 + const VK_F3 — windows/amd64 + const VK_F4 — windows/amd64 + const VK_F5 — windows/amd64 + const VK_F6 — windows/amd64 + const VK_F7 — windows/amd64 + const VK_F8 — windows/amd64 + const VK_F9 — windows/amd64 + const VK_G — windows/amd64 + const VK_H — windows/amd64 + const VK_HELP — windows/amd64 + const VK_HOME — windows/amd64 + const VK_I — windows/amd64 + const VK_INSERT — windows/amd64 + const VK_J — windows/amd64 + const VK_K — windows/amd64 + const VK_L — windows/amd64 + const VK_LBUTTON — windows/amd64 + const VK_LCONTROL — windows/amd64 + const VK_LEFT — windows/amd64 + const VK_LMENU — windows/amd64 + const VK_LSHIFT — windows/amd64 + const VK_LWIN — windows/amd64 + const VK_M — windows/amd64 + const VK_MBUTTON — windows/amd64 + const VK_MENU — windows/amd64 + const VK_MULTIPLY — windows/amd64 + const VK_N — windows/amd64 + const VK_NEXT — windows/amd64 + const VK_NUMLOCK — windows/amd64 + const VK_NUMPAD0 — windows/amd64 + const VK_NUMPAD1 — windows/amd64 + const VK_NUMPAD2 — windows/amd64 + const VK_NUMPAD3 — windows/amd64 + const VK_NUMPAD4 — windows/amd64 + const VK_NUMPAD5 — windows/amd64 + const VK_NUMPAD6 — windows/amd64 + const VK_NUMPAD7 — windows/amd64 + const VK_NUMPAD8 — windows/amd64 + const VK_NUMPAD9 — windows/amd64 + const VK_O — windows/amd64 + const VK_P — windows/amd64 + const VK_PAUSE — windows/amd64 + const VK_PRINT — windows/amd64 + const VK_PRIOR — windows/amd64 + const VK_Q — windows/amd64 + const VK_R — windows/amd64 + const VK_RBUTTON — windows/amd64 + const VK_RCONTROL — windows/amd64 + const VK_RETURN — windows/amd64 + const VK_RIGHT — windows/amd64 + const VK_RMENU — windows/amd64 + const VK_RSHIFT — windows/amd64 + const VK_RWIN — windows/amd64 + const VK_S — windows/amd64 + const VK_SCROLL — windows/amd64 + const VK_SELECT — windows/amd64 + const VK_SEPARATOR — windows/amd64 + const VK_SHIFT — windows/amd64 + const VK_SNAPSHOT — windows/amd64 + const VK_SPACE — windows/amd64 + const VK_SUBTRACT — windows/amd64 + const VK_T — windows/amd64 + const VK_TAB — windows/amd64 + const VK_U — windows/amd64 + const VK_UP — windows/amd64 + const VK_V — windows/amd64 + const VK_W — windows/amd64 + const VK_X — windows/amd64 + const VK_Y — windows/amd64 + const VK_Z — windows/amd64 + const WAIT_FAILED — windows/amd64 + const WAIT_OBJECT_0 — windows/amd64 + const WAIT_TIMEOUT — windows/amd64 + const WM_CLICK — windows/amd64 + const WM_CLOSE — windows/amd64 + const WM_GETTEXT — windows/amd64 + const WM_SETTEXT — windows/amd64 + var Err线程已创建 = errors.New("线程已经创建,无法重复创建") — windows/amd64 + var Err线程已结束 = errors.New("线程已经结束") — windows/amd64 + var Err线程未创建 = errors.New("线程尚未创建") — windows/amd64 + func Abs(n int) int + func B编码_BASE32HEX编码(字节集 []byte) string + func B编码_BASE32HEX解码(文本 string) []byte + func B编码_BASE32编码(字节集 []byte) string + func B编码_BASE32解码(文本 string) []byte + func B编码_BASE64URL编码(字节集 []byte) string + func B编码_BASE64URL解码(文本 string) []byte + func B编码_BASE64无填充编码(字节集 []byte) string + func B编码_BASE64无填充解码(文本 string) []byte + func B编码_BASE64编码(字节集 []byte) string + func B编码_BASE64解码(文本 string) []byte + func B编码_GB18030到UTF8(数据 []byte) string + func B编码_GBK到UTF8(数据 []byte) string + func B编码_HTML编码(文本 string) string + func B编码_HTML解码(文本 string) string + func B编码_JSON编码(值 interface{}) string + func B编码_JSON编码缩进(值 interface{}, 前缀 string, 缩进 string) string + func B编码_JSON解码(文本 string, 目标 interface{}) error + func B编码_MIMEB64编码(文本 string) string + func B编码_MIME编码(文本 string) string + func B编码_Punycode编码(域名 string) string + func B编码_Punycode解码(域名 string) string + func B编码_QP编码(字节集 []byte) string + func B编码_QP解码(文本 string) []byte + func B编码_URL组件编码(网址 string) string + func B编码_URL编码(欲编码的文本 string) string + func B编码_URL解码(URL string) string + func B编码_URL路径编码(路径 string) string + func B编码_URL路径解码(路径 string) string + func B编码_UTF16到UTF8(数据 []byte) string + func B编码_UTF8到GB18030(文本 string) []byte + func B编码_UTF8到GBK(文本 string) []byte + func B编码_UTF8到UTF16(文本 string) []byte + func B编码_UTF8到UTF16大端(文本 string) []byte + func B编码_Unicode解码(文本 string) string + func B编码_usc2到文本(字符串 string) string + func B编码_十六进制大写(字节集 []byte) string + func B编码_十六进制编码(字节集 []byte) string + func B编码_十六进制解码(文本 string) []byte + func B编码_取UTF8字节数(文本 string) int + func B编码_取Unicode码点(文本 string, 位置 int) int + func B编码_取字符数(文本 string) int + func B编码_大端到整数(字节集 []byte) uint64 + func B编码_小端到整数(字节集 []byte) uint64 + func B编码_整数到大端(值 interface{}) []byte + func B编码_整数到小端(值 interface{}) []byte + func B编码_文本到USC2(文本 string) string + func B编码_文本到Unicode(文本 string) string + func B编码_是否有UTF8BOM(数据 []byte) bool + func B编码_是否有效UTF8(数据 []byte) bool + func B编码_添加UTF8BOM(数据 []byte) []byte + func B编码_码点到文本(码点 int) string + func B编码_移除UTF8BOM(数据 []byte) []byte + func B表达式_求值(表达式对象 *govaluate.EvaluableExpression) (interface{}, error) + func B表达式_求值带参数(表达式对象 *govaluate.EvaluableExpression, 参数 map[string]interface{}) (interface{}, error) + func B表达式_编译(表达式 string) (*govaluate.EvaluableExpression, error) + func B表达式_编译并计算(表达式 string) (interface{}, error) + func B表达式_计算(表达式 string) (interface{}, error) + func B表达式_计算带参数(表达式 string, 参数 map[string]interface{}) (interface{}, error) + func CamelToSnake(s string) string + func ClearMap[K comparable, V any](m map[K]V) + func CompareEqual[T comparable](a, b T) bool + func CompareValueEqual(a, b interface{}) bool + func ContainsKey[K comparable, V any](m map[K]V, key K) bool + func ContainsSubstring(s, substr string) bool + func Contains[T comparable](slice []T, item T) bool + func CountCharacters(s string) map[rune]int + func CountWords(s string) int + func C爬虫_创建() *colly.Collector + func C爬虫_取元素属性(元素 *colly.HTMLElement, 属性名 string) string + func C爬虫_取元素文本(元素 *colly.HTMLElement) string + func C爬虫_注册HTML回调(采集器 *colly.Collector, 选择器 string, ...) + func C爬虫_注册响应回调(采集器 *colly.Collector, 回调函数 func(r *colly.Response)) + func C爬虫_注册请求回调(采集器 *colly.Collector, 回调函数 func(r *colly.Request)) + func C爬虫_注册错误回调(采集器 *colly.Collector, 回调函数 func(r *colly.Response, err error)) + func C爬虫_设置请求头(采集器 *colly.Collector, 请求头 map[string]string) + func C爬虫_访问(采集器 *colly.Collector, 网址 string) error + func C爬虫_限制并发(采集器 *colly.Collector, 域名 string, 并发数 int, 间隔毫秒 int) + func C程序_写日志(日志内容 string, 日志路径 string) + func C程序_删除自身() error + func C程序_取GUID() string + func C程序_取cmd路径() string + func C程序_取临时目录() string + func C程序_取命令行() []string + func C程序_取运行目录() string + func C程序_延时(毫秒数 int64) bool + func C程序_延时2(毫秒 int) bool + func C程序_是否被调试() bool + func C程序_禁止重复运行() bool + func C程序_运行Win(欲运行的命令行 string) string + func C窗口_关闭(窗口句柄 syscall.Handle) bool — windows/amd64 + func C窗口_发送消息(窗口句柄 syscall.Handle, 消息 uint32, 参数1 uintptr, 参数2 uintptr) uintptr — windows/amd64 + func C窗口_取下一个(窗口句柄 syscall.Handle) syscall.Handle — windows/amd64 + func C窗口_取前台窗口() syscall.Handle — windows/amd64 + func C窗口_取所有子窗口(父窗口 syscall.Handle) []syscall.Handle — windows/amd64 + func C窗口_取文本(窗口句柄 syscall.Handle) string — windows/amd64 + func C窗口_取标题(窗口句柄 syscall.Handle) string — windows/amd64 + func C窗口_取桌面窗口() syscall.Handle — windows/amd64 + func C窗口_取父窗口(窗口句柄 syscall.Handle) syscall.Handle — windows/amd64 + func C窗口_取类名(窗口句柄 syscall.Handle) string — windows/amd64 + func C窗口_取进程ID(窗口句柄 syscall.Handle) (uint32, uint32) — windows/amd64 + func C窗口_启用(窗口句柄 syscall.Handle, 启用 bool) bool — windows/amd64 + func C窗口_投递消息(窗口句柄 syscall.Handle, 消息 uint32, 参数1 uintptr, 参数2 uintptr) bool — windows/amd64 + func C窗口_是否可见(窗口句柄 syscall.Handle) bool — windows/amd64 + func C窗口_是否有效(窗口句柄 syscall.Handle) bool — windows/amd64 + func C窗口_显示(窗口句柄 syscall.Handle, 命令 int) bool — windows/amd64 + func C窗口_查找(类名 string, 标题 string) syscall.Handle — windows/amd64 + func C窗口_查找子窗口(父窗口 syscall.Handle, 子窗口后 syscall.Handle, 类名 string, ...) syscall.Handle — windows/amd64 + func C窗口_点击按钮(按钮句柄 syscall.Handle) uintptr — windows/amd64 + func C窗口_移动(窗口句柄 syscall.Handle, 左边 int32, 顶边 int32, 宽度 int32, ...) bool — windows/amd64 + func C窗口_置前台窗口(窗口句柄 syscall.Handle) bool — windows/amd64 + func C窗口_置文本(窗口句柄 syscall.Handle, 文本 string) uintptr — windows/amd64 + func C窗口_置标题(窗口句柄 syscall.Handle, 标题 string) bool — windows/amd64 + func C类型_到Duration(值 interface{}) interface + func C类型_到整数(值 interface{}) int + func C类型_到整数64(值 interface{}) int64 + func C类型_到整数切片(值 interface{}) []int + func C类型_到文本(值 interface{}) string + func C类型_到文本切片(值 interface{}) []string + func C类型_到时间(值 interface{}) interface + func C类型_到浮点数(值 interface{}) float64 + func C类型_到逻辑型(值 interface{}) bool + func C类型_安全到整数(值 interface{}, 默认值 int) int + func C类型_安全到文本(值 interface{}, 默认值 string) string + func C类型_安全到浮点数(值 interface{}, 默认值 float64) float64 + func C类型_安全到逻辑型(值 interface{}, 默认值 bool) bool + func C类型_进制转换(文本 string, 进制 int) (int64, error) + func C进程_关闭句柄(句柄 syscall.Handle) bool — windows/amd64 + func C进程_取ID(进程句柄 syscall.Handle) uint32 — windows/amd64 + func C进程_取优先级(进程句柄 syscall.Handle) (uint32, bool) — windows/amd64 + func C进程_取当前ID() uint32 — windows/amd64 + func C进程_取模块路径(进程ID uint32) (string, error) — windows/amd64 + func C进程_取父进程ID(进程ID uint32) (uint32, error) — windows/amd64 + func C进程_取退出码(进程句柄 syscall.Handle) (uint32, bool) — windows/amd64 + func C进程_打开(进程ID uint32, 访问权限 uint32) (syscall.Handle, error) — windows/amd64 + func C进程_按名查找(进程名 string) ([]uint32, error) — windows/amd64 + func C进程_是否存活(进程ID uint32) bool — windows/amd64 + func C进程_等待(进程句柄 syscall.Handle, 超时毫秒 uint32) uint32 — windows/amd64 + func C进程_终止(进程ID uint32, 退出码 uint32) error — windows/amd64 + func C进程_设置优先级(进程句柄 syscall.Handle, 优先级 uint32) bool — windows/amd64 + func Difference(a, b []int) []int + func D到字节(value interface{}) byte + func D到字节集(value interface{}) []byte + func D到数值(value interface{}) float64 + func D到整数(value interface{}) int + func D到整数64(value interface{}) int64 + func D到文本(value interface{}) string + func D到文本数组(通用型变量 interface{}) []string + func D到结构体(待转换的参数 interface{}, 结构体指针 interface{}) error + func D多项选择[T any](index int, arr []T, 默认值 T) T + func D定时_停止(调度器 *cron.Cron) + func D定时_创建() *cron.Cron + func D定时_取任务列表(调度器 *cron.Cron) []cron.Entry + func D定时_启动(调度器 *cron.Cron) + func D定时_添加任务(调度器 *cron.Cron, 表达式 string, 任务 func()) (cron.EntryID, error) + func D定时_移除任务(调度器 *cron.Cron, 任务ID cron.EntryID) + func D定时_简单执行(表达式 string, 任务 func()) (*cron.Cron, error) + func D数据库_事务(引擎 *xorm.Engine, ...) (interface{}, error) + func D数据库_关闭(引擎 *xorm.Engine) error + func D数据库_删除(引擎 *xorm.Engine, 条件结构体 interface{}) (int64, error) + func D数据库_取反射类型(值 interface{}) reflect.Type + func D数据库_取表名(引擎 *xorm.Engine, 结构体 interface{}) string + func D数据库_同步表(引擎 *xorm.Engine, 结构体 ...interface{}) error + func D数据库_执行SQL(引擎 *xorm.Engine, sql语句 string, 参数 ...interface{}) (sql.Result, error) + func D数据库_插入(引擎 *xorm.Engine, 记录 interface{}) (int64, error) + func D数据库_更新(引擎 *xorm.Engine, 记录 interface{}) (int64, error) + func D数据库_条件更新(引擎 *xorm.Engine, 记录 interface{}, 条件 string, 参数 ...interface{}) (int64, error) + func D数据库_条件查询(引擎 *xorm.Engine, 结果切片 interface{}, 条件 string, ...) error + func D数据库_查询(引擎 *xorm.Engine, 结果切片 interface{}) error + func D数据库_查询单条(引擎 *xorm.Engine, 记录 interface{}) (bool, error) + func D数据库_测试连接(引擎 *xorm.Engine) error + func D数据库_统计(引擎 *xorm.Engine, 条件结构体 interface{}) (int64, error) + func D数据库_表是否存在(引擎 *xorm.Engine, 表名 string) (bool, error) + func D数据库_设置连接池(引擎 *xorm.Engine, 最大空闲数 int, 最大连接数 int, ...) + func D数据库_连接MySQL(用户名 string, 密码 string, 主机地址 string, 数据库名 string) (*xorm.Engine, error) + func D数据库_连接SQLite(文件路径 string) (*xorm.Engine, error) + func E() float64 + func ExponentialBackoffRetry[T any](fn func() (T, error), maxRetries int, baseInterval, maxInterval time.Duration) (T, error) + func ExtractKeys[K comparable, V any](maps ...map[K]V) map[K]struct + func ExtractValues[K comparable, V comparable](maps ...map[K]V) map[V]struct + func E邮件_发送(服务器地址 string, 发件人邮箱 string, 密码 string, ...) error + func E邮件_发送TLS(服务器地址 string, 发件人邮箱 string, 密码 string, ...) error + func E邮件_发送简单邮件(服务器地址 string, 发件人邮箱 string, 密码 string, ...) error + func F_分割文本(原文本 string, 分割符 string) []string + func F_删首尾空(text string) string + func F_加入成员(数组 []string, 成员 string) []string + func F_取文本右边(text string, n int) string + func F_取文本左边(text string, n int) string + func F_取文本长度(text string) int + func F_取随机数(min, max int) int + func F_选择(逻辑 bool, 真返回参数, 假返回参数 interface{}) interface + func Factorial(n int) int64 + func Fibonacci(n int) int64 + func FilterMap[K comparable, V any](m map[K]V, condition func(K, V) bool) map[K]V + func Filter[T any](slice []T, condition func(T) bool) []T + func FirstLetterToUpper(s string) string + func Float64乘Float64(值1 float64, 值2 float64) float64 + func Float64乘int64(值1 float64, 值2 int64) float64 + func Float64从文本(值 string, 保留小数点多少位 int) float64 + func Float64减float64(值1 float64, 值2 float64, 保留长度 int32) float64 + func Float64到文本(值 float64, 保留小数点多少位 int) string + func Float64加float64(值1 float64, 值2 float64, 保留长度 int32) float64 + func Float64取绝对值(值 float64) float64 + func Float64取负值(值 float64) float64 + func Float64除float64(值1 float64, 值2 float64, 保留长度 int32) float64 + func Float64除int64(值1 float64, 值2 int64, 保留长度 int32) float64 + func FloatApproxEqual(a, b, delta float64) bool + func F文件监控_关闭(监控器 *fsnotify.Watcher) + func F文件监控_创建() (*fsnotify.Watcher, error) + func F文件监控_取事件通道(监控器 *fsnotify.Watcher) <-chan fsnotify.Event + func F文件监控_取错误通道(监控器 *fsnotify.Watcher) <-chan error + func F文件监控_开始(监控器 *fsnotify.Watcher, 回调函数 func(event fsnotify.Event)) + func F文件监控_添加文件(监控器 *fsnotify.Watcher, 文件路径 string) error + func F文件监控_添加目录(监控器 *fsnotify.Watcher, 目录路径 string) error + func F文件监控_监控目录变化(目录路径 string, 回调函数 func(event fsnotify.Event)) (func(), error) + func F文件监控_移除(监控器 *fsnotify.Watcher, 路径 string) error + func GenericDeduplicate[T comparable](slice []T) []T + func GenericReverse[T any](slice []T) + func GenericSort[T any](slice []T, less func(a, b T) bool) + func GetKeys[K comparable, V any](m map[K]V) []K + func GetValues[K comparable, V any](m map[K]V) []V + func GreaterOrEqual[T constraints.Ordered](left, right T) bool + func GreaterThan[T constraints.Ordered](left, right T) bool + func G协程池_创建(池大小 int) (*ants.Pool, error) + func G协程池_创建带选项(池大小 int, 选项 ...ants.Option) (*ants.Pool, error) + func G协程池_取容量(池 *ants.Pool) int + func G协程池_取空闲数量(池 *ants.Pool) int + func G协程池_取等待数量(池 *ants.Pool) int + func G协程池_取运行中数量(池 *ants.Pool) int + func G协程池_提交任务(池 *ants.Pool, 任务 func()) error + func G协程池_调整大小(池 *ants.Pool, 新大小 int) + func G协程池_释放(池 *ants.Pool) + func G协程池_预分配(池大小 int) (*ants.Pool, error) + func G格式化_JSON(data string) string + func G格式化文本(str string, 参数 ...interface{}) string + func HHook_初始化() error + func HHook_卸载() error + func HHook_卸载Hook(目标地址 uintptr) error + func HHook_取状态文本(状态码 int) string + func HHook_启用Hook(目标地址 uintptr) error + func HHook_启用全部Hook() error + func HHook_安装ApiHook(模块名, 函数名 string, 回调地址 uintptr) (uintptr, error) + func HHook_安装ApiHookEx(模块名, 函数名 string, 回调地址 uintptr) (原地址, 目标地址 uintptr, err error) + func HHook_安装Hook(目标地址, 回调地址 uintptr) (uintptr, error) + func HHook_应用排队() error + func HHook_排队启用Hook(目标地址 uintptr) error + func HHook_排队禁用Hook(目标地址 uintptr) error + func HHook_禁用Hook(目标地址 uintptr) error + func HHook_禁用全部Hook() error + func HasPrefix(s, prefix string) bool + func HasSuffix(s, suffix string) bool + func H内存_修改保护(hProcess syscall.Handle, 地址 uintptr, 大小 uintptr, 新保护 uint32) (uint32, error) — windows/amd64 + func H内存_关闭句柄(hProcess syscall.Handle) error — windows/amd64 + func H内存_写字节集(hProcess syscall.Handle, 地址 uintptr, 数据 []byte) error — windows/amd64 + func H内存_写整数(hProcess syscall.Handle, 地址 uintptr, 值 int32) error — windows/amd64 + func H内存_写整数64(hProcess syscall.Handle, 地址 uintptr, 值 int64) error — windows/amd64 + func H内存_分配内存(hProcess syscall.Handle, 大小 uintptr) (uintptr, error) — windows/amd64 + func H内存_取模块基址(进程ID uint32, 模块名 string) (uintptr, error) — windows/amd64 + func H内存_取进程ID(进程名 string) (uint32, error) — windows/amd64 + func H内存_取进程位数(进程ID uint32) int — windows/amd64 + func H内存_取进程名称(进程ID uint32) (string, []uint16, error) — windows/amd64 + func H内存_打开进程(进程ID uint32, 权限 uint32) (syscall.Handle, error) — windows/amd64 + func H内存_搜索字节集(hProcess syscall.Handle, 特征码 []byte, 起始地址 uintptr, ...) ([]uintptr, error) — windows/amd64 + func H内存_搜索文本(hProcess syscall.Handle, 文本 string, 起始地址 uintptr, 长度 uintptr) ([]uintptr, error) — windows/amd64 + func H内存_是否存在进程(进程ID uint32) bool — windows/amd64 + func H内存_终止进程(进程ID uint32) error — windows/amd64 + func H内存_读字节集(hProcess syscall.Handle, 地址 uintptr, 长度 uint32) ([]byte, error) — windows/amd64 + func H内存_读整数(hProcess syscall.Handle, 地址 uintptr) (int32, error) — windows/amd64 + func H内存_读整数64(hProcess syscall.Handle, 地址 uintptr) (int64, error) — windows/amd64 + func H内存_读浮点数(hProcess syscall.Handle, 地址 uintptr) (float32, error) — windows/amd64 + func H内存_读浮点数64(hProcess syscall.Handle, 地址 uintptr) (float64, error) — windows/amd64 + func H内存_释放内存(hProcess syscall.Handle, 地址 uintptr) error — windows/amd64 + func H客户端_Delete(网址 string) (*resty.Response, error) + func H客户端_Get(网址 string) (*resty.Response, error) + func H客户端_Post(网址 string, 数据 interface{}) (*resty.Response, error) + func H客户端_Put(网址 string, 数据 interface{}) (*resty.Response, error) + func H客户端_下载文件(网址 string, 保存路径 string) error + func H客户端_创建() *resty.Request + func H客户端_取文本(网址 string) (string, error) + func H客户端_带参数发送(网址 string, 参数 map[string]string) (*resty.Response, error) + func H客户端_带请求头发送(网址 string, 请求头 map[string]string) (*resty.Response, error) + func H客户端_表单提交(网址 string, 表单数据 map[string]string) (*resty.Response, error) + func H客户端_设置代理(代理地址 string) *resty.Client + func H客户端_设置超时(超时秒数 int) *resty.Client + func H汇编_ADDR(v int32) + func H汇编_ADD_EAX(v int32) + func H汇编_ADD_EAX_DWORD_PTR(addr int32) + func H汇编_ADD_EAX_EDX() + func H汇编_ADD_EBP_DWORD_PTR(addr int32) + func H汇编_ADD_EBX(v int32) + func H汇编_ADD_EBX_DWORD_PTR(addr int32) + func H汇编_ADD_EBX_EAX() + func H汇编_ADD_ECX(v int32) + func H汇编_ADD_EDX(v int32) + func H汇编_ADD_ESI(v int32) + func H汇编_ADD_ESP(v int32) + func H汇编_CALL(addr int32) + func H汇编_CALL_DWORD_PTR(addr int32) + func H汇编_CALL_DWORD_PTR_EAX() + func H汇编_CALL_DWORD_PTR_EBX() + func H汇编_CALL_EAX() + func H汇编_CALL_EBP() + func H汇编_CALL_EBX() + func H汇编_CALL_ECX() + func H汇编_CALL_EDI() + func H汇编_CALL_EDX() + func H汇编_CALL_ESI() + func H汇编_CALL_ESP() + func H汇编_CMP_DWORD_PTR_EAX(addr int32) + func H汇编_CMP_EAX(v int32) + func H汇编_CMP_EAX_DWORD_PTR(addr int32) + func H汇编_CMP_EAX_EDX() + func H汇编_DEC_EAX() + func H汇编_DEC_EBX() + func H汇编_DEC_ECX() + func H汇编_DEC_EDX() + func H汇编_IDIV_EAX() + func H汇编_IDIV_EBX() + func H汇编_IDIV_ECX() + func H汇编_IDIV_EDX() + func H汇编_IMULB_EAX(v int32) + func H汇编_IMUL_EAX(v int8) + func H汇编_IMUL_EAX_EDX() + func H汇编_INC_DWORD_PTR_EAX() + func H汇编_INC_DWORD_PTR_EBX() + func H汇编_INC_DWORD_PTR_ECX() + func H汇编_INC_DWORD_PTR_EDX() + func H汇编_INC_EAX() + func H汇编_INC_EBX() + func H汇编_INC_ECX() + func H汇编_INC_EDI() + func H汇编_INC_EDX() + func H汇编_INC_ESI() + func H汇编_IN_AL_DX() + func H汇编_JMP(addr int32) + func H汇编_JMP_EAX() + func H汇编_LEAVE() + func H汇编_MOV_DWORD_PTR_EAX(addr int32) + func H汇编_MOV_EAX(v int32) + func H汇编_MOV_EAX_DWORD_PTR(addr int32) + func H汇编_MOV_EAX_DWORD_PTR_EAX() + func H汇编_MOV_EAX_DWORD_PTR_EAX_ADD(disp int32) + func H汇编_MOV_EAX_DWORD_PTR_EBP() + func H汇编_MOV_EAX_DWORD_PTR_EBP_ADD(disp int32) + func H汇编_MOV_EAX_DWORD_PTR_EBX() + func H汇编_MOV_EAX_DWORD_PTR_EBX_ADD(disp int32) + func H汇编_MOV_EAX_DWORD_PTR_ECX() + func H汇编_MOV_EAX_DWORD_PTR_ECX_ADD(disp int32) + func H汇编_MOV_EAX_DWORD_PTR_EDI() + func H汇编_MOV_EAX_DWORD_PTR_EDI_ADD(disp int32) + func H汇编_MOV_EAX_DWORD_PTR_EDX() + func H汇编_MOV_EAX_DWORD_PTR_EDX_ADD(disp int32) + func H汇编_MOV_EAX_DWORD_PTR_ESI() + func H汇编_MOV_EAX_DWORD_PTR_ESI_ADD(disp int32) + func H汇编_MOV_EAX_DWORD_PTR_ESP() + func H汇编_MOV_EAX_DWORD_PTR_ESP_ADD(disp int32) + func H汇编_MOV_EBP(v int32) + func H汇编_MOV_EBP_DWORD_PTR(addr int32) + func H汇编_MOV_EBX(v int32) + func H汇编_MOV_EBX_DWORD_PTR(addr int32) + func H汇编_MOV_EBX_DWORD_PTR_EAX_ADD(disp int32) + func H汇编_MOV_EBX_DWORD_PTR_EBP_ADD(disp int32) + func H汇编_MOV_EBX_DWORD_PTR_EBX_ADD(disp int32) + func H汇编_MOV_EBX_DWORD_PTR_ECX_ADD(disp int32) + func H汇编_MOV_EBX_DWORD_PTR_EDI_ADD(disp int32) + func H汇编_MOV_EBX_DWORD_PTR_EDX_ADD(disp int32) + func H汇编_MOV_EBX_DWORD_PTR_ESI_ADD(disp int32) + func H汇编_MOV_EBX_DWORD_PTR_ESP_ADD(disp int32) + func H汇编_MOV_ECX(v int32) + func H汇编_MOV_ECX_DWORD_PTR(addr int32) + func H汇编_MOV_ECX_DWORD_PTR_EAX_ADD(disp int32) + func H汇编_MOV_ECX_DWORD_PTR_EBP_ADD(disp int32) + func H汇编_MOV_ECX_DWORD_PTR_EBX_ADD(disp int32) + func H汇编_MOV_ECX_DWORD_PTR_ECX_ADD(disp int32) + func H汇编_MOV_ECX_DWORD_PTR_EDI_ADD(disp int32) + func H汇编_MOV_ECX_DWORD_PTR_EDX_ADD(disp int32) + func H汇编_MOV_ECX_DWORD_PTR_ESI_ADD(disp int32) + func H汇编_MOV_ECX_DWORD_PTR_ESP_ADD(disp int32) + func H汇编_MOV_EDI(v int32) + func H汇编_MOV_EDI_DWORD_PTR(addr int32) + func H汇编_MOV_EDX(v int32) + func H汇编_MOV_EDX_DWORD_PTR(addr int32) + func H汇编_MOV_EDX_DWORD_PTR_EAX_ADD(disp int32) + func H汇编_MOV_EDX_DWORD_PTR_EBP_ADD(disp int32) + func H汇编_MOV_EDX_DWORD_PTR_EBX_ADD(disp int32) + func H汇编_MOV_EDX_DWORD_PTR_ECX_ADD(disp int32) + func H汇编_MOV_EDX_DWORD_PTR_EDI_ADD(disp int32) + func H汇编_MOV_EDX_DWORD_PTR_EDX_ADD(disp int32) + func H汇编_MOV_EDX_DWORD_PTR_ESI_ADD(disp int32) + func H汇编_MOV_ESI(v int32) + func H汇编_MOV_ESI_DWORD_PTR(addr int32) + func H汇编_MOV_ESI_DWORD_PTR_EAX_ADD(disp int32) + func H汇编_MOV_ESP(v int32) + func H汇编_MOV_ESP_DWORD_PTR(addr int32) + func H汇编_NOP() + func H汇编_POPAD() + func H汇编_PUSHAD() + func H汇编_RET() + func H汇编_TEST_EAX_EAX() + func H汇编_取代码() []byte + func H汇编_取随机字节(长度 int) ([]byte, error) + func H汇编_取随机数(起始数, 结束数 int) int + func H汇编_置代码(代码 []byte) + func H汇编_运行汇编代码() (uintptr, error) + func H汇编_远程执行汇编代码(进程ID uint32, 代码 []byte) error + func IP_10进制转IP(decimal int) string + func IP_IP转10进制(ip string) int + func IP_Ping测试(主机 string, 端口 int, 超时毫秒 int) bool + func IP_取MAC地址() map[string]string + func IP_取内网IP() []string + func IP_取外网IP() string + func IP_取外网IP详细信息() string + func IP_取首选内网IP() string + func IP_是否内网IP(ip string) bool + func IP_是否有效IP(ip string) bool + func Int32ToBytes(i int32) []byte + func Int64到Float64(值 int64) float64 + func Intersection(a, b []int) []int + func Int取绝对值(值 int) int + func IsPrime(n int) bool + func Jjson_删除值(json文本 string, 路径 string) (string, error) + func Jjson_到文本(值 interface{}) (string, error) + func Jjson_到格式化文本(值 interface{}, 缩进 string) (string, error) + func Jjson_取值(json文本 string, 路径 string) string + func Jjson_取对象(json文本 string, 路径 string) map[string]gjson.Result + func Jjson_取所有路径(json文本 string) []string + func Jjson_取数组(json文本 string, 路径 string) []gjson.Result + func Jjson_取数组长度(json文本 string, 路径 string) int + func Jjson_取整数(json文本 string, 路径 string) int64 + func Jjson_取浮点数(json文本 string, 路径 string) float64 + func Jjson_取逻辑型(json文本 string, 路径 string) bool + func Jjson_是否存在(json文本 string, 路径 string) bool + func Jjson_解析(json文本 string, 目标 interface{}) error + func Jjson_设置值(json文本 string, 路径 string, 值 interface{}) (string, error) + func Jjson_设置整数值(json文本 string, 路径 string, 值 int64) (string, error) + func Jjson_设置文本值(json文本 string, 路径 string, 值 string) (string, error) + func Join(parts []string, sep string) string + func J加解密_3DES_CBC加密(明文, 密钥, IV []byte) (string, error) + func J加解密_3DES_CBC解密(密文Base64 string, 密钥, IV []byte) ([]byte, error) + func J加解密_3DES_ECB加密(明文, 密钥 []byte) (string, error) + func J加解密_3DES_ECB解密(密文Base64 string, 密钥 []byte) ([]byte, error) + func J加解密_AES_CBC加密(明文, 密钥, IV []byte) (string, error) + func J加解密_AES_CBC解密(密文Base64 string, 密钥, IV []byte) ([]byte, error) + func J加解密_AES_CFB加密(明文, 密钥 []byte) (string, error) + func J加解密_AES_CFB解密(密文Base64 string, 密钥 []byte) ([]byte, error) + func J加解密_AES_CTR加密(明文, 密钥 []byte) (string, error) + func J加解密_AES_CTR解密(密文Base64 string, 密钥 []byte) ([]byte, error) + func J加解密_AES_ECB加密(明文, 密钥 []byte) (string, error) + func J加解密_AES_ECB解密(密文Base64 string, 密钥 []byte) ([]byte, error) + func J加解密_AES_GCM加密(明文, 密钥, 附加数据 []byte) (string, error) + func J加解密_AES_GCM解密(密文Base64 string, 密钥, 附加数据 []byte) ([]byte, error) + func J加解密_AES_OFB加密(明文, 密钥 []byte) (string, error) + func J加解密_AES_OFB解密(密文Base64 string, 密钥 []byte) ([]byte, error) + func J加解密_DES_CBC加密(明文, 密钥, IV []byte) (string, error) + func J加解密_DES_CBC解密(密文Base64 string, 密钥, IV []byte) ([]byte, error) + func J加解密_DES_ECB加密(明文, 密钥 []byte) (string, error) + func J加解密_DES_ECB解密(密文Base64 string, 密钥 []byte) ([]byte, error) + func J加解密_RC4(数据, 密钥 []byte) string + func J加解密_RC4字节集(数据, 密钥 []byte) []byte + func J加解密_TEA加密(明文, 密钥 []byte) (string, error) + func J加解密_TEA解密(密文Base64 string, 密钥 []byte) ([]byte, error) + func J加解密_XOR(数据, 密钥 []byte) []byte + func J加解密_XOR文本(数据, 密钥 []byte) string + func J加解密_XXTEA加密(明文, 密钥 []byte) (string, error) + func J加解密_XXTEA解密(密文Base64 string, 密钥 []byte) ([]byte, error) + func J加解密_生成AES密钥(长度 int) ([]byte, error) + func J加解密_生成IV(块大小 int) ([]byte, error) + func J校验_HMAC_MD5(密钥 []byte, 数据 []byte, 返回值转成大写 bool) string + func J校验_HMAC_SHA1(密钥 []byte, 数据 []byte, 返回值转成大写 bool) string + func J校验_HMAC_SHA256(密钥 []byte, 数据 []byte, 返回值转成大写 bool) string + func J校验_HMAC_SHA512(密钥 []byte, 数据 []byte, 返回值转成大写 bool) string + func J校验_取Adler32(数据 []byte, 返回值转成大写 bool) string + func J校验_取CRC64(数据 []byte, 返回值转成大写 bool) string + func J校验_取Crc32(数据 []byte, 返回值转成大写 bool) string + func J校验_取Crc32_文件(文件路径 string, 返回值转成大写 bool) (string, error) + func J校验_取md5(字节集数据 []byte, 返回值转成大写 bool) string + func J校验_取md5_16位(字节集数据 []byte, 返回值转成大写 bool) string + func J校验_取md5_文件(文件路径 string, 返回值转成大写 bool) (string, error) + func J校验_取md5_文本(文本数据 string, 返回值转成大写 bool) string + func J校验_取sha1(数据 []byte, 返回值转成大写 bool) string + func J校验_取sha1_文件(文件路径 string, 返回值转成大写 bool) (string, error) + func J校验_取sha256(数据 []byte, 返回值转成大写 bool) string + func J校验_取sha256_文件(文件路径 string, 返回值转成大写 bool) (string, error) + func J校验_取sha512(数据 []byte, 返回值转成大写 bool) string + func J校验_取sha512_文件(文件路径 string, 返回值转成大写 bool) (string, error) + func J校验_校验HMAC(密钥 []byte, 数据 []byte, 预期值 string) bool + func J校验_校验MD5(数据 []byte, 预期值 string) bool + func J校验_校验SHA256(数据 []byte, 预期值 string) bool + func J校验_校验文件MD5(文件路径 string, 预期值 string) (bool, error) + func J校验_校验文件SHA256(文件路径 string, 预期值 string) (bool, error) + func J结构体_合并(目标 interface{}, 源 interface{}) error + func J结构体_合并Map(目标 interface{}, 源 interface{}) error + func J结构体_合并Map覆盖(目标 interface{}, 源 interface{}) error + func J结构体_合并不带空值(目标 interface{}, 源 interface{}) error + func J结构体_合并覆盖(目标 interface{}, 源 interface{}) error + func J结构体_复制(目标 interface{}, 源 interface{}) error + func J结构体_复制带选项(目标 interface{}, 源 interface{}, 忽略空值 bool) error + func J键鼠_取屏幕宽度() int — windows/amd64 + func J键鼠_取屏幕高度() int — windows/amd64 + func J键鼠_取按键状态(虚拟键码 int) int16 — windows/amd64 + func J键鼠_取键状态(虚拟键码 int) int16 — windows/amd64 + func J键鼠_取鼠标位置() (int, int) — windows/amd64 + func J键鼠_按键(虚拟键码 int, 按下 bool) — windows/amd64 + func J键鼠_按键组合(虚拟键码1, 虚拟键码2 int) — windows/amd64 + func J键鼠_是否按下(虚拟键码 int) bool — windows/amd64 + func J键鼠_模拟按键(虚拟键码 int) — windows/amd64 + func J键鼠_模拟文本输入(text string) — windows/amd64 + func J键鼠_移动鼠标(x, y int) — windows/amd64 + func J键鼠_锁定输入(锁定 bool) — windows/amd64 + func J键鼠_鼠标中键单击() — windows/amd64 + func J键鼠_鼠标右键单击() — windows/amd64 + func J键鼠_鼠标左键单击() — windows/amd64 + func J键鼠_鼠标左键弹起() — windows/amd64 + func J键鼠_鼠标左键按下() — windows/amd64 + func J键鼠_鼠标滚轮(delta int) — windows/amd64 + func K环境_从文本读取(文本 string) (map[string]string, error) + func K环境_删除值(名称 string) error + func K环境_加载(文件路径 string) error + func K环境_加载并覆盖(文件路径 string) error + func K环境_取值(名称 string) string + func K环境_取值带默认值(名称 string, 默认值 string) string + func K环境_取所有() []string + func K环境_是否存在(名称 string) bool + func K环境_设置值(名称 string, 值 string) error + func K表格_从CSV读取(csv文本 string) ([]string, [][]string, error) + func K表格_从TSV读取(tsv文本 string) ([]string, [][]string) + func K表格_列数(表头 []string) int + func K表格_创建() *termtables.Table + func K表格_去重(行数据 [][]string) [][]string + func K表格_取列(行数据 [][]string, 列索引 int) []string + func K表格_取行(行数据 [][]string, 行索引 int) []string + func K表格_合并(行数据1 [][]string, 行数据2 [][]string) [][]string + func K表格_快速创建(表头 []string, 行数据 [][]string) string + func K表格_排序列(行数据 [][]string, 列索引 int, 升序 bool) [][]string + func K表格_添加分隔线(表格 *termtables.Table) + func K表格_添加行(表格 *termtables.Table, 行数据 ...interface{}) + func K表格_添加表头(表格 *termtables.Table, 表头 ...string) + func K表格_行数(行数据 [][]string) int + func K表格_转置(表头 []string, 行数据 [][]string) ([]string, [][]string) + func K表格_输出(表格 *termtables.Table) string + func K表格_输出CSV(表头 []string, 行数据 [][]string) string + func K表格_输出HTML(表头 []string, 行数据 [][]string) string + func K表格_输出JSON(表头 []string, 行数据 [][]string) string + func K表格_输出Markdown(表头 []string, 行数据 [][]string) string + func K表格_输出TSV(表头 []string, 行数据 [][]string) string + func K表格_过滤行(行数据 [][]string, 条件 func(int, []string) bool) [][]string + func LBinarySearch(nums []int, target int) int + func LLinearSearch[T comparable](slice []T, target T) int + func LMergeSort(nums []int) []int + func LQuickSort(nums []int) + func LessOrEqual[T constraints.Ordered](left, right T) bool + func LessThan[T constraints.Ordered](left, right T) bool + func L日志_信息(日志 *zap.Logger, 消息 string, 字段 ...zap.Field) + func L日志_创建开发日志() (*zap.Logger, error) + func L日志_创建生产日志() (*zap.Logger, error) + func L日志_创建自定义日志(日志级别 int, 输出路径 []string, JSON格式 bool) (*zap.Logger, error) + func L日志_同步(日志 *zap.Logger) error + func L日志_字符串(键 string, 值 string) zap.Field + func L日志_整数(键 string, 值 int) zap.Field + func L日志_警告(日志 *zap.Logger, 消息 string, 字段 ...zap.Field) + func L日志_调试(日志 *zap.Logger, 消息 string, 字段 ...zap.Field) + func L日志_错误(日志 *zap.Logger, 消息 string, 字段 ...zap.Field) + func L日志_错误类型(键 string, 值 error) zap.Field + func MapLength[K comparable, V any](m map[K]V) int + func MapSlice[T any, U any](slice []T, fn func(T) U) []U + func MapToPairs[K comparable, V any](m map[K]V) [][]interface + func MapValues[K comparable, V any, U any](m map[K]V, fn func(V) U) map[K]U + func MapVirtualKey(uCode, uMapType uint32) uint32 — windows/amd64 + func Map_Struct转Map(obj interface{}) map[string]interface + func Map_取key整数数组(m map[int]string) []int + func Map_转post数据(URL参数 map[string]string, 是否url编码 bool) string + func Map_键名是否存在(m map[int]string, key int) bool + func MathAverage(nums []int) float64 + func MathMax(nums []int) int + func MathMin(nums []int) int + func MathSum(nums []int) int + func MergeMaps[K comparable, V any](maps ...map[K]V) map[K]V + func M命令行_取剩余参数() []string + func M命令行_取字符串参数(短名称 string, 长名称 string, 默认值 string, 说明 string) *string + func M命令行_取小数参数(短名称 string, 长名称 string, 默认值 float64, 说明 string) *float64 + func M命令行_取布尔参数(短名称 string, 长名称 string, 默认值 bool, 说明 string) *bool + func M命令行_取整数参数(短名称 string, 长名称 string, 默认值 int, 说明 string) *int + func M命令行_取程序名() string + func M命令行_显示默认用法() + func M命令行_置用法(用法函数 func()) + func M命令行_解析() + func M目录_创建(路径 string) error + func M目录_删除(欲删除的目录名称 string) error + func M目录_取当前目录() string + func M目录_取运行目录() string + func M目录_是否存在(path string) (bool, error) + func M目录_枚举子目录(父文件夹路径 string, 子目录数组 *[]string, 是否带路径 bool, ...) error + func N键值_关闭(数据库 *buntdb.DB) error + func N键值_创建索引(数据库 *buntdb.DB, 索引名 string, 模式 string) error + func N键值_删除(数据库 *buntdb.DB, 键 string) error + func N键值_取值(数据库 *buntdb.DB, 键 string) (string, error) + func N键值_打开(文件路径 string) (*buntdb.DB, error) + func N键值_置值(数据库 *buntdb.DB, 键 string, 值 string) error + func N键值_置值带过期(数据库 *buntdb.DB, 键 string, 值 string, 过期秒数 float64) error + func N键值_遍历(数据库 *buntdb.DB, 起始键 string, 结束键 string, ...) error + func PI() float64 + func PairsToMap(pairs [][]interface{}) map[interface{}]interface + func Pow(base, exponent float64) float64 + func P对象池_取字节集(数据 []byte) []byte + func P对象池_取文本(文本 string) string + func P对象池_放回(缓冲区 *bytebufferpool.ByteBuffer) + func P对象池_获取() *bytebufferpool.ByteBuffer + func P配置_从文件读取(文件路径 string) (*viper.Viper, error) + func P配置_从文件读取指定项(文件路径 string, 键名 string) (string, error) + func P配置_写回文件(v *viper.Viper) error + func P配置_取值(v *viper.Viper, 键名 string) string + func P配置_取字符串切片(v *viper.Viper, 键名 string) []string + func P配置_取整数值(v *viper.Viper, 键名 string) int + func P配置_取整数切片(v *viper.Viper, 键名 string) []int + func P配置_取浮点数值(v *viper.Viper, 键名 string) float64 + func P配置_取逻辑值(v *viper.Viper, 键名 string) bool + func P配置_变更回调(v *viper.Viper, 回调 func()) + func P配置_监听变更(v *viper.Viper) + func P配置_绑定环境变量(v *viper.Viper, 键名 string, 环境变量名 string) + func P配置_自动环境变量(v *viper.Viper, 前缀 string) + func P配置_设置值(v *viper.Viper, 键名 string, 值 interface{}) + func Q取单条Cookie(原Cookies, 单条Cookie名称 string) string + func Q取随机数(min, max int) int + func Q权限_从文件创建(模型文件路径 string, 策略文件路径 string) (*casbin.Enforcer, error) + func Q权限_从文本创建(模型文本 string, 适配器 persist.Adapter) (*casbin.Enforcer, error) + func Q权限_保存策略(管理器 *casbin.Enforcer) error + func Q权限_创建内存(模型文本 string) (*casbin.Enforcer, error) + func Q权限_创建文件适配器(策略文件路径 string) *fileadapter.Adapter + func Q权限_删除策略(管理器 *casbin.Enforcer, 主体 string, 资源 string, 操作 string) (bool, error) + func Q权限_删除角色(管理器 *casbin.Enforcer, 用户 string, 角色 string) (bool, error) + func Q权限_加载策略(管理器 *casbin.Enforcer) error + func Q权限_取用户角色(管理器 *casbin.Enforcer, 用户 string) ([]string, error) + func Q权限_检查权限(管理器 *casbin.Enforcer, 主体 string, 资源 string, 操作 string) (bool, error) + func Q权限_添加策略(管理器 *casbin.Enforcer, 主体 string, 资源 string, 操作 string) (bool, error) + func Q权限_添加角色(管理器 *casbin.Enforcer, 用户 string, 角色 string) (bool, error) + func RSA_公钥解密(公钥 string, 密文 []byte) (明文字节集 []byte) + func RSA_私钥加密(Rsa私钥 []byte, 明文 []byte) (base64密文 string) + func Repeat(s string, count int) string + func ReplaceAll(s, old, new string) string + func RetryWithCondition[T any](fn func() (T, error), shouldRetry func(error) bool, maxRetries int, ...) (T, error) + func Retry[T any](fn func() (T, error), maxRetries int, interval time.Duration) (T, error) + func Reverse(nums []int) + func ReverseMap[K comparable, V comparable](m map[K]V) map[V]K + func Rsa_GetKey() (err error, PublicKey string, PrivateKey string) + func Rsa_公钥加密(公钥 string, 加密内容 []byte) (base64密文 string) + func Rsa_私钥签名(base64后明文 string, RSA私钥 string) string + func Rsa_私钥解密(Rsa私钥 []byte, 加密数据 []byte) string + func Rsa_私钥解密2(Rsa私钥 []byte, 加密数据 []byte) []byte + func R日期_到文本(时间 time.Time, 格式 string) string + func R日期_取日期部分(时间 time.Time) string + func R日期_取时间戳(时间 time.Time) int64 + func R日期_取时间部分(时间 time.Time) string + func R日期_取格式名称(日期文本 string) string + func R日期_取毫秒时间戳(时间 time.Time) int64 + func R日期_智能解析(日期文本 string) (time.Time, error) + func R日期_智能解析严格(日期文本 string) (time.Time, error) + func R日期_智能解析本地(日期文本 string) (time.Time, error) + func SafeGet[K comparable, V any](m map[K]V, key K, defaultVal V) V + func SliceDeduplicate(nums []int) []int + func SnakeToCamel(s string) string + func Sort(nums []int) + func SortDescending(nums []int) + func Split(s, sep string) []string + func Sqrt(n float64) float64 + func StringReverse(s string) string + func Substring(s string, start int) string + func SubstringLength(s string, start, length int) string + func S三元[T any](value bool, string1, string2 T) T + func S数组_乱序[T comparable](数组 []T) []T + func S数组_到文本(array []interface{}) string + func S数组_去重复[T comparable](数组 []T) []T + func S数组_反转(反转的数组切片 []interface{}) + func S数组_取差集(a, b []int) []int + func S数组_取文本出现次数(参数_数组 []string, 参数_成员 string) int + func S数组_取文本索引(文本数组 []string, 文本 string) int + func S数组_取随机成员(源数组 []string, 数量 int) []string + func S数组_合并文本[T comparable](数组 []T, 连接字符 string) string + func S数组_排序整数(arr []int) []int + func S数组_排序文本(arr []string) []string + func S数组_整数取差集(int1 []int, int2 []int) []int + func S数组_整数是否存在(数组 []int, 整数 int) bool + func S数组_是否为空(list []string) (isEmpty bool) + func S数组_是否存在[T comparable](数组 []T, 元素 T) bool + func S数组_求平均值(参数 []int) int + func S时间_取HTTP网络时间() time.Time + func S时间_取日期() string + func S时间_取时间() string + func S时间_取星期() string + func S时间_取月份天数(年, 月 int) int + func S时间_取本地与网络时差(服务器 string) int64 + func S时间_取现行时间() string + func S时间_取现行时间戳() int64 + func S时间_取现行时间戳13() int64 + func S时间_取网络时间(服务器 string) time.Time + func S时间_取网络时间戳(服务器 string) int64 + func S时间_取网络时间文本(服务器 string) string + func S时间_文本到时间戳(时间文本 string) int + func S时间_时间到时间戳(时间 string) int64 + func S时间_时间戳13到时间(时间戳 int64) string + func S时间_时间戳到时间(时间戳 int64) string + func S时间_时间戳格式化(format string, 时间戳 int64) string + func S时间_是否闰年(年 int) bool + func S时间_秒转时间文本(秒 int64) string + func S时间_计算时间差(开始时间戳, 结束时间戳 int64) string + func S是否为数组(通用型变量 interface{}) bool + func TakeFirstN[T any](slice []T, n int) []T + func TakeLastN[T any](slice []T, n int) []T + func ToLower(s string) string + func ToUpper(s string) string + func TrimLeft(s string) string + func TrimRight(s string) string + func TrimSpace(s string) string + func T图片_从字节读取(数据 []byte) (image.Image, error) + func T图片_从读取器读取(读取器 io.Reader) (image.Image, string, error) + func T图片_伽马校正(图片 image.Image, 伽马值 float64) image.Image + func T图片_保存(图片 image.Image, 文件路径 string) error + func T图片_保存GIF(图片 image.Image, 文件路径 string) error + func T图片_保存JPEG(图片 image.Image, 文件路径 string, 质量 int) error + func T图片_保存PNG(图片 image.Image, 文件路径 string) error + func T图片_创建纯色图(宽度 int, 高度 int, 颜色值 color.Color) image.Image + func T图片_创建透明图(宽度 int, 高度 int) image.Image + func T图片_反色(图片 image.Image) image.Image + func T图片_取像素RGBA(图片 image.Image, x int, y int) (uint32, uint32, uint32, uint32) + func T图片_取像素颜色(图片 image.Image, x int, y int) color.Color + func T图片_取宽度(图片 image.Image) int + func T图片_取尺寸(图片 image.Image) (int, int) + func T图片_取边界(图片 image.Image) image.Rectangle + func T图片_取高度(图片 image.Image) int + func T图片_叠加(底图 image.Image, 上层图 image.Image, x int, y int) image.Image + func T图片_叠加带透明度(底图 image.Image, 上层图 image.Image, x int, y int, 透明度 float64) image.Image + func T图片_垂直翻转(图片 image.Image) image.Image + func T图片_居中裁剪(图片 image.Image, 宽度 int, 高度 int) image.Image + func T图片_拼接垂直(图片列表 []image.Image) image.Image + func T图片_拼接水平(图片列表 []image.Image) image.Image + func T图片_旋转(图片 image.Image, 角度 float64) image.Image + func T图片_旋转180(图片 image.Image) image.Image + func T图片_旋转270(图片 image.Image) image.Image + func T图片_旋转90(图片 image.Image) image.Image + func T图片_模糊(图片 image.Image, 半径 float64) image.Image + func T图片_水平翻转(图片 image.Image) image.Image + func T图片_添加水印(底图 image.Image, 水印图 image.Image, 位置 string, 偏移X int, ...) image.Image + func T图片_灰度化(图片 image.Image) image.Image + func T图片_生成二维码(内容 string, 文件路径 string, 尺寸 int) error + func T图片_生成二维码base64(内容 string) string + func T图片_生成二维码到写入器(内容 string, 写入器 io.Writer, 尺寸 int) error + func T图片_生成二维码自定义(内容 string, 容错等级 int, 尺寸 int) (image.Image, error) + func T图片_缩放(图片 image.Image, 宽度 int, 高度 int) image.Image + func T图片_缩放到宽度(图片 image.Image, 宽度 int) image.Image + func T图片_缩放到高度(图片 image.Image, 高度 int) image.Image + func T图片_缩略图(图片 image.Image, 宽度 int, 高度 int) image.Image + func T图片_裁剪(图片 image.Image, 左 int, 上 int, 右 int, 下 int) image.Image + func T图片_设置透明度(图片 image.Image, 透明度 float64) image.Image + func T图片_读取(文件路径 string) (image.Image, error) + func T图片_读取Base64(base64文本 string) (image.Image, error) + func T图片_调整亮度(图片 image.Image, 亮度 int) image.Image + func T图片_调整对比度(图片 image.Image, 对比度 int) image.Image + func T图片_调整色相(图片 image.Image, 色相 int) image.Image + func T图片_调整饱和度(图片 image.Image, 饱和度 int) image.Image + func T图片_转Base64(图片 image.Image, 格式 string) (string, error) + func T图片_转DataURI(图片 image.Image, 格式 string) (string, error) + func T图片_转字节(图片 image.Image, 格式 string) ([]byte, error) + func T图片_锐化(图片 image.Image, 强度 float64) image.Image + func T模板_写入(模板文本 string, 写入器 io.Writer, 标签 map[string]interface{}) (int64, error) + func T模板_创建(模板文本 string, 起始标记 string, 结束标记 string) (*fasttemplate.Template, error) + func T模板_执行(模板文本 string, 标签 map[string]interface{}) (string, error) + func T模板_执行自定义分隔符(模板文本 string, 起始标记 string, 结束标记 string, ...) (string, error) + func T模板_替换(模板文本 string, 标签 map[string]interface{}) string + func Utf8到文本(src string) string + func VkKeyScan(ch rune) uint16 — windows/amd64 + func V校验_取结构体标签(结构体 interface{}, 字段名 string) string + func V校验_取错误信息(错误 error) string + func V校验_是IP(ip string) bool + func V校验_是JSON(json文本 string) bool + func V校验_是URL(网址 string) bool + func V校验_是邮箱(邮箱 string) bool + func V校验_注册自定义验证(规则名 string, 验证函数 func(fl validator.FieldLevel) bool) error + func V校验_验证变量(变量 interface{}, 标签 string) error + func V校验_验证字段(结构体 interface{}, 字段名 string, 标签 string) error + func V校验_验证结构体(结构体 interface{}) error + func W文件_保存(文件名 string, 欲写入文件的数据 interface{}) error + func W文件_写出(文件名 string, 欲写入文件的数据 interface{}) error + func W文件_写出文件(文件名 string, 欲写入文件的数据 interface{}) error + func W文件_写到文件(文件名 string, 欲写入文件的数据 []byte) error + func W文件_删除(欲删除的文件名 string) error + func W文件_取临时文件名(目录名 string) (f *os.File, filepath string, err error) + func W文件_取大小(文件名 string) int64 + func W文件_取文件名(路径 string) string + func W文件_取父目录(dirpath string) string + func W文件_是否存在(路径 string) bool + func W文件_更名(欲更名的原文件或目录名 string, ...) error + func W文件_枚举(欲寻找的目录 string, 欲寻找的文件名 string, files *[]string, ...) error + func W文件_读入文件(文件名 string) []byte + func W文件_读入文本(文件名 string) string + func W文件_路径合并处理(elem ...string) string + func W文件_追加文本(文件名 string, 欲追加的文本 string) error + func W文本_gbk到utf8(src string) string + func W文本_utf8到gbk(src string) string + func W文本_倒取出中间文本(欲取全文本 string, 右边文本 string, 左边文本 string, ...) string + func W文本_倒找文本(被搜寻的文本 string, 欲寻找的文本 string) int + func W文本_分割文本(待分割文本 string, 用作分割的文本 string) []string + func W文本_删尾空(欲删除空格的文本 string) string + func W文本_删除指定文本行(源文本 string, 行数 int) string + func W文本_删除空行(要操作的文本 string) string + func W文本_删首尾空(内容 string) string + func W文本_删首空(欲删除空格的文本 string) string + func W文本_到大写(value string) string + func W文本_到小写(value string) string + func W文本_去重复文本(原文本 string, 分割符 string) string + func W文本_去除敏感信息(内容 string) string + func W文本_取出中间文本(内容 string, 左边文本 string, 右边文本 string) string + func W文本_取出中间文本_批量正则(内容 string, 左边文本 string, 右边文本 string) []string + func W文本_取出现次数(被搜索文本 string, 欲搜索文本 string) int + func W文本_取右边(欲取其部分的文本 string, 欲取出字符的数目 int) string + func W文本_取左边(欲取其部分的文本 string, 欲取出字符的数目 int) string + func W文本_取指定变量文本行(文本 string, 行号 int) string + func W文本_取文本右边(内容 string, 关键字 string) string + func W文本_取文本右边2(被查找的文本 string, 欲寻找的文本 string, 起始寻找位置 int, ...) string + func W文本_取文本右边_带关键字(内容 string, 关键字 string) string + func W文本_取文本左边(内容 string, 关键字 string) string + func W文本_取文本左边2(内容 string, 关键字 string) string + func W文本_取文本所在行(源文本 string, 欲查找的文本 string, 是否区分大小写 bool) int + func W文本_取空白(重复次数 int) string + func W文本_取行数(文本 string) int + func W文本_取重复(重复次数 int, 待重复文本 string) string + func W文本_取长度(value string) int + func W文本_取随机IP() string + func W文本_取随机ip() string + func W文本_取随机字符串(字符串长度 int) string + func W文本_取随机字符串_数字(字符串长度 int) string + func W文本_取随机数字数组(最小值, 最大值 int, 数量 int) []string + func W文本_取随机范围数字(起始数, 结束数, 单双选择 int) string + func W文本_子文本替换(欲被替换的文本 string, 欲被替换的子文本 string, ...) string + func W文本_字符(字节型 int8) string + func W文本_寻找(源文本, 要寻找的文本 string) int + func W文本_寻找文本(被搜寻的文本 string, 欲寻找的文本 string) int + func W文本_是否JSON(s string) bool + func W文本_是否为字母(s string) bool + func W文本_是否为数字(s string) bool + func W文本_是否为英数字母(s string) bool + func W文本_是否包含关键字(内容, 关键字 string) bool + func W文本_是否存在(内容, 关键字 string) bool + func W文本_是否存在_任意(内容 string, 关键字 []string) bool + func W文本_是否存在_同时(内容 string, 关键字 []string) bool + func W文本_替换(源文本, 旧文本, 新文本 string) string + func W文本_替换2(源文本 string, 替换内容 map[string]string) string + func W文本_逐字分割(原文本 string) []string + func W文本_颠倒(欲转换文本 string, 带有中文 bool) string + func W文本_首字母改大写(英文文本 string) string + func W文本到utf8(src string) string + func W网页_Cookie合并更新(旧Cookie, 新Cookie string) string + func W网页_取域名(Url string) string + func W网页_处理协议头(原始协议头 string) string + func W网页_访问_对象(网址 string, 访问方式 int, 提交信息 string, 提交Cookies string, ...) []byte + func X消息_关闭主题(总线 messagebus.MessageBus, 主题 string) + func X消息_创建(最大订阅者数 int) messagebus.MessageBus + func X消息_发布(总线 messagebus.MessageBus, 主题 string, 消息 ...interface{}) + func X消息_取消订阅(总线 messagebus.MessageBus, 主题 string, 回调函数 interface{}) error + func X消息_订阅(总线 messagebus.MessageBus, 主题 string, 回调函数 interface{}) error + func X系统_execExitWindows(flags uint32) error — windows/amd64 + func X系统_信息框(标题, 内容 string) — windows/amd64 + func X系统_信息框_是否(标题, 内容 string) int — windows/amd64 + func X系统_信息框_确认(标题, 内容 string) int — windows/amd64 + func X系统_关机(强制 bool) error — windows/amd64 + func X系统_删除环境变量(名称 string) error — windows/amd64 + func X系统_取CPU使用率(间隔 int) ([]float64, error) + func X系统_取CPU信息() ([]cpu.InfoStat, error) + func X系统_取CPU核心数() (int, error) + func X系统_取CPU物理核心数() (int, error) + func X系统_取Go版本() string + func X系统_取主机信息() (*host.InfoStat, error) + func X系统_取交换区信息() (*mem.SwapMemoryStat, error) + func X系统_取内存信息() (*mem.VirtualMemoryStat, error) + func X系统_取剪辑版文本() (string, error) — windows/amd64 + func X系统_取开机时间() (uint64, error) + func X系统_取当前进程ID() int32 + func X系统_取当前进程信息() (*process.Process, error) + func X系统_取总CPU使用率(间隔 int) (float64, error) + func X系统_取操作系统类型() string + func X系统_取环境变量(名称 string) string — windows/amd64 + func X系统_取用户名() (string, error) — windows/amd64 + func X系统_取磁盘IO信息() (map[string]disk.IOCountersStat, error) + func X系统_取磁盘使用量(路径 string) (*disk.UsageStat, error) + func X系统_取磁盘信息() ([]disk.PartitionStat, error) + func X系统_取系统架构() string + func X系统_取系统负载() (*load.AvgStat, error) + func X系统_取网络IO信息() ([]net.IOCountersStat, error) + func X系统_取网络接口信息() ([]net.InterfaceStat, error) + func X系统_取网络连接信息() ([]net.ConnectionStat, error) + func X系统_取计算机名() (string, error) — windows/amd64 + func X系统_取进程CPU占用(pid int32) float64 + func X系统_取进程信息(pid int32) (*process.Process, error) + func X系统_取进程内存占用(pid int32) float64 + func X系统_取进程列表() ([]*process.Process, error) + func X系统_取进程名(pid int32) string + func X系统_取逻辑处理器数() int + func X系统_启用关机权限() error — windows/amd64 + func X系统_执行命令(命令 string, 参数 ...string) (string, error) — windows/amd64 + func X系统_执行命令隐藏(命令 string, 参数 ...string) error — windows/amd64 + func X系统_是否64位系统() bool + func X系统_注销(强制 bool) error — windows/amd64 + func X系统_清空剪辑版() error — windows/amd64 + func X系统_禁止屏幕保护(禁止 bool) error — windows/amd64 + func X系统_置剪辑版文本(text string) error — windows/amd64 + func X系统_置屏保超时(秒 int) error — windows/amd64 + func X系统_置环境变量(名称, 值 string) error — windows/amd64 + func X系统_远程关机(计算机名 string, 消息 string, 超时秒 uint32, 强制 bool) error — windows/amd64 + func X系统_重启(强制 bool) error — windows/amd64 + func X系统_锁定工作站() error — windows/amd64 + func X线程_临界区_离开(cs *CRITICAL_SECTION) — windows/amd64 + func X线程_临界区_进入(cs *CRITICAL_SECTION) — windows/amd64 + func X线程_临界区_销毁(cs *CRITICAL_SECTION) — windows/amd64 + func X线程_事件_创建(手动重置 bool, 初始状态 bool, 名称 string) (syscall.Handle, error) — windows/amd64 + func X线程_事件_脉冲(hEvent syscall.Handle) error — windows/amd64 + func X线程_事件_设置(hEvent syscall.Handle) error — windows/amd64 + func X线程_事件_重置(hEvent syscall.Handle) error — windows/amd64 + func X线程_互斥体_创建(名称 string) (syscall.Handle, bool, error) — windows/amd64 + func X线程_互斥体_打开(名称 string) (syscall.Handle, error) — windows/amd64 + func X线程_互斥体_释放(hMutex syscall.Handle) error — windows/amd64 + func X线程_信号量_创建(初始计数 int32, 最大计数 int32, 名称 string) (syscall.Handle, error) — windows/amd64 + func X线程_信号量_打开(名称 string) (syscall.Handle, error) — windows/amd64 + func X线程_信号量_释放(hSemaphore syscall.Handle, 释放数量 int32) (int32, error) — windows/amd64 + func X线程_关闭句柄(handle syscall.Handle) error — windows/amd64 + func X线程_创建(线程函数 uintptr, 参数 uintptr) (syscall.Handle, error) — windows/amd64 + func X线程_取当前ID() uint32 — windows/amd64 + func X线程_取当前伪句柄() syscall.Handle — windows/amd64 + func X线程_延时(毫秒 uint32) — windows/amd64 + func X线程_恢复(hThread syscall.Handle) (uint32, error) — windows/amd64 + func X线程_挂起(hThread syscall.Handle) (uint32, error) — windows/amd64 + func X线程_等待单个(handle syscall.Handle, 超时毫秒 uint32) uint32 — windows/amd64 + func X线程_等待多个(handles []syscall.Handle, 等待全部 bool, 超时毫秒 uint32) uint32 — windows/amd64 + func X线程_终止(hThread syscall.Handle, 退出码 uint32) error — windows/amd64 + func Y原子_递减(整数变量 *int64) int64 + func Y原子_递增(整数变量 *int64) int64 + func Z字节集_Gzip解压(字节集 []byte) (data []byte, err error) + func Z字节集_十六进制到字节集(原始16进制文本 string) []byte + func Z字节集_字节集到十六进制(字节集 []byte) string + func Z字节集_寻找(被搜寻的字节集 []byte, 欲寻找的字节集 []byte, ...) int + func Z正则_取Url连接地址(str string) []string + func Z正则_取ip端口(str string) string + func Z正则_取ip端口多个(str string) []string + func Z正则_取全部匹配子文本(str, 正则表达式 string) []string + func Z正则_是否英数(s string, msg *string) bool + func Z正则_校验email(s string, msg *string) bool + func Z正则_校验代理用户名(s string, msg *string) bool + func Z正则_校验密码(s string, msg *string) bool + func Z正则_校验用户名(s string, msg *string) bool + func Z正则_校验纯数字(s string, msg *string) bool + func Z正则_校验纯数字指定位数(s string, msg *string, 位数 int) bool + type CRITICAL_SECTION = RTL_CRITICAL_SECTION — windows/amd64 + func X线程_临界区_创建() (*CRITICAL_SECTION, error) + type G线程 struct — windows/amd64 + func X线程_协程_创建(执行函数 func()) *G线程 + type HARDWAREINPUT struct — windows/amd64 + UMsg uint32 + WParamH uint16 + WParamL uint16 + type INPUT struct — windows/amd64 + Hi HARDWAREINPUT + Ki KEYBDINPUT + Mi MOUSEINPUT + Type uint32 + type KEYBDINPUT struct — windows/amd64 + DwExtraInfo uintptr + DwFlags uint32 + Time uint32 + WScan uint16 + WVk uint16 + type LRUCache struct + func NewLRUCache(capacity int) *LRUCache + func (l *LRUCache) Clear() + func (l *LRUCache) Get(key int) (interface{}, bool) + func (l *LRUCache) Put(key int, value interface{}) + func (l *LRUCache) Size() int + type LUID struct — windows/amd64 + HighPart int32 + LowPart uint32 + type LUID_AND_ATTRIBUTES struct — windows/amd64 + Attributes uint32 + Luid LUID + type MEMORY_BASIC_INFORMATION struct — windows/amd64 + AllocationBase uintptr + AllocationProtect uint32 + BaseAddress uintptr + Protect uint32 + RegionSize uintptr + State uint32 + Type uint32 + func H内存_查询内存(hProcess syscall.Handle, 地址 uintptr) (*MEMORY_BASIC_INFORMATION, error) + type MODULEENTRY32W struct — windows/amd64 + DwSize uint32 + GlblcntUsage uint32 + HModule syscall.Handle + ModBaseAddr uintptr + ModBaseSize uint32 + ProccntUsage uint32 + SzExePath [MAX_PATH]uint16 + SzModule [MAX_MODULE_NAME32 + 1]uint16 + Th32ModuleID uint32 + Th32ProcessID uint32 + type MOUSEINPUT struct — windows/amd64 + DwExtraInfo uintptr + DwFlags uint32 + Dx int32 + Dy int32 + MouseData uint32 + Time uint32 + type POINT struct — windows/amd64 + X int32 + Y int32 + type PROCESSENTRY32W struct — windows/amd64 + DefaultHeapID uintptr + ExeFile [260]uint16 + Flags uint32 + ModuleID uint32 + ParentProcessID uint32 + PriorityClassBase int32 + ProcessID uint32 + Size uint32 + Threads uint32 + Usage uint32 + func C进程_枚举() ([]PROCESSENTRY32W, error) + func H内存_枚举进程() ([]PROCESSENTRY32W, error) + type PROCESS_INFORMATION struct — windows/amd64 + Process syscall.Handle + ProcessID uint32 + Thread syscall.Handle + ThreadID uint32 + func C进程_创建(程序路径 string, 命令行 string, 工作目录 string) (*PROCESS_INFORMATION, error) + type Post数据类 struct + func (p *Post数据类) H获取JSON文本() string + func (p *Post数据类) H获取Key数组() []string + func (p *Post数据类) H获取Post数据(是否URL编码 bool) string + func (p *Post数据类) H获取Value数组() []string + func (p *Post数据类) H获取协议头数据(是否URL编码 bool) string + func (p *Post数据类) Q取值(key string) string + func (p *Post数据类) Q清空() + func (p *Post数据类) S删除(key string) + func (p *Post数据类) T添加(key, value string, 转码 bool) + func (p *Post数据类) T添加_批量(文本 string, 转码 bool) + func (p *Post数据类) Z置值(key, value string) + type RECT struct — windows/amd64 + Bottom int32 + Left int32 + Right int32 + Top int32 + func C窗口_取矩形(窗口句柄 syscall.Handle) (RECT, bool) + type RTL_CRITICAL_SECTION struct — windows/amd64 + DebugInfo uintptr + LockCount int32 + LockSemaphore syscall.Handle + OwningThread syscall.Handle + RecursionCount int32 + SpinCount uintptr + type STARTUPINFOW struct — windows/amd64 + Cb uint32 + CbReserved2 uint16 + DwFillAttribute uint32 + DwFlags uint32 + DwX uint32 + DwXCountChars uint32 + DwXSize uint32 + DwY uint32 + DwYCountChars uint32 + DwYSize uint32 + HStdError syscall.Handle + HStdInput syscall.Handle + HStdOutput syscall.Handle + LPDesktop *uint16 + LPReserved *uint16 + LPReserved2 *byte + LPTitle *uint16 + WShowWindow uint16 + type TOKEN_PRIVILEGES struct — windows/amd64 + PrivilegeCount uint32 + Privileges [1]LUID_AND_ATTRIBUTES