# 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
No description provided by the author
BinPath 获取Bin目录.
Black 默认输出.
Blue 颜色输出.
Bytes2Bool 字节切片转换为bool.
Bytes2Float64 字节切片转换为float64.
Bytes2Int16 字节切片转换为int16.
Bytes2Int32 字节切片转换为int32.
Bytes2Int64 字节切片转换为int64.
Bytes2Int8 字节切片转换为int8.
No description provided by the author
Bytes2String 字节切片转换为字符串.
Bytes2Uint16 字节切片转换为uint16.
Bytes2Uint32 字节切片转换为uint32.
Bytes2Uint64 字节切片转换为uint64.
Bytes2Uint8 字节切片转换为uint8.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
FileExists 判断文件是否存在.
FileTime 获取文件时间.
No description provided by the author
Fuchsia 颜色输出.
Green 成功输出.
Hash Hash算法.
No description provided by the author
HashValue 计算任意类型hash值.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
HMac HMac算法.
No description provided by the author
No description provided by the author
Index4Bit 索引路由方法,值范围为uint32.
Index4Int16 索引路由方法,值范围为int16.
Index4Int8 索引路由方法,值范围为int8.
Index4Uint8 索引路由方法,值范围为uint8.
Ip2Long Ip转换为uint32.
No description provided by the author
JsonDecode ---.
JsonEncode ---.
JsonUnmarshalFile ---.
No description provided by the author
LocalIp 获取本机Ip.
Long2Ip uint32转换为Ip.
No description provided by the author
No description provided by the author
Md5 Md5算法.
No description provided by the author
MkDir 创建目录.
No description provided by the author
No description provided by the author
PprofIsRun _.
No description provided by the author
Red 错误输出.
RedFatal 致命错误输出.
No description provided by the author
Sha1 Sha1算法.
No description provided by the author
No description provided by the author
StartPprof _.
StopPprof _.
StopPprofWithTimeout _.
String2Bytes 字符串转字节切片,注意:转换后不能对字节切片进行修改.
No description provided by the author
No description provided by the author
ToString 转为字符串类型.
No description provided by the author
YamlDecode ---.
YamlEncode ---.
YamlUnmarshalFile ---.
Yellow 警告输出.
# Constants
CodeAborted 操作已取消,通常是由于并发问题,如排序器检查失败、事务中止.
CodeAlreadyExists 表示创建实体的尝试失败,因为实体已经存在.
CodeCanceled 表示操作已取消(通常由调用者取消).
CodeDataLoss 表示不可恢复的数据丢失或损坏.
CodeDeadlineExceeded 表示操作在完成前过期。对于改变系统状态的操作,即使操作成功完成,也可能会返回此错误。 例如,来自服务器的成功响应可能已延迟足够长的时间以使截止日期到期.
CodeFailedPrecondition 操作被拒绝,因为系统未处于操作执行所需的状态。 例如,要删除的目录可能是非空的,rmdir 操作应用于非目录等.
CodeInternal 系统内部错误.
CodeInvalidArgument 客户端传递了一个无效的参数.
CodeNotFound 表示未找到某些请求的实体(例如文件或目录).
CodeOutRange 超出范围的操作.
CodePermissionDenied 表示调用者没有执行指定操作的权限.
CodeResourceExhausted 表示某些资源已用尽,可能是每个用户的配额,或者可能是整个文件系统空间不足.
CodeUnauthenticated 表示请求没有用于操作的有效身份验证凭据.
CodeUnavailable 表示该服务当前不可用。这很可能是一种瞬态情况,可以通过回退重试来纠正。 请注意,重试非幂等操作是不安全的.
CodeUnimplemented 未实现或不支持的操作.
CodeUnknown 未知错误.
OK 成功返回.
# 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