# README
infra
infra.Go infra
# Functions
方法参数.
原始调用,给BUS总线使用.
CloseMeta 所有携带Meta的Context,必须在执行完成后 调用 CloseMeta 来给meta做收尾的工作,主要是删除临时文件,关闭连接之类的.
No description provided by the author
Configure 开放修改默认配置 比如,在代码中就可以设置一些默认配置 这样就可以最大化的减少配置文件的依赖.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DecryptDigit 解码数字.
DecryptDigits 解码数字数组.
DecryptTEXT 解码文本.
DecryptTEXTS 解码文本数组.
定义Var def表示默认值,不写请传nil.
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
EncryptDIGIT.
EncryptDIGITS.
EncryptTEXT 加密文本.
TextsEncrypt 文本数组加密.
No description provided by the author
直接执行,同步,本地.
Expressions 获取正则的表达式.
Extension 按MIMEType获取扩展名.
No description provided by the author
Unique 雪花ID 转数字加密.
Go 直接开跑.
No description provided by the author
Identify 声明当前节点的身份和版本 role 当前节点的角色 version 编译的版本,建议每次发布时更新版本.
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
GOBMarshal.
MarshalJSON.
MarshalTOML.
MarshalXML.
Match 正则做匹配校验.
Mimetype 按扩展名获取 MIME 中的 类型.
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
Override.
No description provided by the author
保留小数位.
No description provided by the author
No description provided by the author
Ready 准备好各模块 当你需要写一个临时程序,但是又需要使用程序里的代码 比如,导入老数据,整理文件或是数据,临时的采集程序等等 就可以在临时代码中,调用infra.Ready(),然后做你需要做的事情.
Register 注册各种内容.
Result 定义一个result,并自动注册state state 表示状态key text 表示状态对应的默认文案.
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
Sequence 雪花ID.
No description provided by the author
Sign 生成签名 可以用在一些批量生成的场景.
No description provided by the author
StateCode 返回状态码.
String 获取多语言字串.
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
Types 获取所有类型定义.
No description provided by the author
UnmarshalGOB.
UnmarshalJSON.
UnmarshalTOML.
XMLUnmarshal.
No description provided by the author
No description provided by the author
Verify.
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
# 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
# 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
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
# Type aliases
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