package
0.0.0-20230212075855-37d0fc33fcd1
Repository: https://github.com/hahamx/utools.git
Documentation: pkg.go.dev

# README

错误码规则

  • 错误码需在 code 包中进行定义。

错误码为 5 位数

10101
服务级错误码模块级错误码具体错误码
  • 服务级错误码:1 位数进行表示,比如 1 为系统级错误;2 为普通错误,通常是由用户非法操作引起。
  • 模块级错误码:2 位数进行表示,比如 01 为用户模块;02 为订单模块。
  • 具体的错误码:2 位数进行表示,比如 01 为手机号不合法;02 为验证码输入错误。

# Functions

AliasForRecordMetrics 对请求路径起个别名,用于记录指标。 如:Get /user/:username 这样的路径,因为 username 会有非常多的情况,这样记录指标非常不友好。.
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

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
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
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
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
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
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

# 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
直播字段.
No description provided by the author
按顺序存入和解析cron 结构体.
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
Failure 错误时返回结构.
No description provided by the author
查cron 任务列表.
No description provided by the author
修改编辑.
No description provided by the author
No description provided by the author
No description provided by the author
SessionUserInfo 当前用户会话信息.
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

# Type aliases

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