package
1.0.0
Repository: https://github.com/yuwf/gobase.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
进程ID写入pid文件.
添加一个定时任务.
No description provided by the author
暴露出原始对象.
Exit 退出.
No description provided by the author
等待退出,一般放到main函数的最下面调用.
No description provided by the author
No description provided by the author
通用的panic处理函数.
No description provided by the author
No description provided by the author
No description provided by the author
通配符匹配 支持?和*.
No description provided by the author
No description provided by the author
LocalIP ...
No description provided by the author
方便ctx中内容输出使用.
打印http相关的内容日志,细节待完善.
No description provided by the author
No description provided by the author
No description provided by the author
RandFloat32 float32[0,1.0).
RandFloat64 float64[0,1.0).
RandInt int随机数.
RandInt31 int32随机数.
RandInt31n [0,n)的随机数.
RandInt31nm [n,m)的随机数.
RandInt31nm2 [n,m]的随机数.
RandInt63 int64随机数.
RandInt63n [0,n)的随机数.
RandInt63nm [n,m)的随机数.
RandInt63nm2 [n,m]的随机数.
RandIntn [0,n)的随机数.
RandIntnm [n,m)的随机数.
RandIntnm2 [n,m]的随机数.
No description provided by the author
No description provided by the author
生成随机字符串.
No description provided by the author
RandUint32 uint32.
RandUint64 uint64.
注册退出函数.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
提交一个任务.
提交一个可以可以等待的任务.
No description provided by the author
根据二进制解码出TestMsg结构.
等待提交的任务.

# Constants

不打印日志,错误日志还会打印 值:不受限制 一般写1.
context产生时,设置的唯一ID,用来链路追踪.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
协成池调用任务队列 保证任务顺序执行.
No description provided by the author
No description provided by the author
通用的消息测试使用.
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
接受消息接口,包括消息头和消息体结构.
发送消息接口.
下面几种约束 参考https://cs.opensource.google/go/x/exp.
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author