# Constants
AppKey 定义字符串凭证.
CacheKey 定义字符串凭证.
ConfigKey 是配置服务字符串凭证.
DebugLevel level.
DistributedKey 定义字符串凭证.
EnvDev 代表开发环境.
EnvKey 是环境变量服务字符串凭证.
EnvProd 代表生产环境.
EnvTest 代表测试环境.
ErrorLevel level.
FatalLevel level.
IDKey 定义字符串凭证.
InfoLevel level.
KernelKey 提供 kenel 服务凭证.
LogKey 定义字符串凭证.
ORMKey 代表 ORM的服务.
PanicLevel level, panic 表示会导致整个程序出现崩溃的日志信息.
RedisKey 定义字符串凭证.
No description provided by the author
SSHKey 定义字符串凭证.
TraceKey 定义字符串凭证.
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
TraceLevel level.
UnknownLevel 表示未知的日志级别.
WarnLevel level.
# Structs
DBConfig 代表数据库连接的所有配置.
RedisConfig 为gob定义的Redis配置结构.
SSHConfig 为gob定义的SSH配置结构.
No description provided by the author
Trace define struct according Google Dapper.
# Interfaces
App 定义接口(提供了获取框架相关内容,例如获取框架约定的相关目录).
CacheService 缓存服务.
Config 定义了配置文件服务,读取配置文件,支持点分割的路径读取 例如: .Get("app.name") 表示从 app 文件中读取 name 属性 建议使用 yaml 属性, https://yaml.org/spec/1.2/spec.html.
Distributed 分布式服务.
Env 定义环境变量服务.
No description provided by the author
Kernel 接口提供框架最核心的结构.
Log 定义了日志服务协议.
ORM 表示传入的参数.
RedisService 表示一个redis服务.
No description provided by the author
SSHService 表示一个ssh服务.
No description provided by the author
# Type aliases
CtxFielder 定义了从context中获取信息的方法.
DBOption 代表初始化的时候的选项.
Formatter 定义了将日志信息组织成字符串的通用方法.
No description provided by the author
RedisOption 代表初始化的时候的选项.
RememberFunc 缓存的Remember方法使用,Cache-Aside模式对应的对象生成方法.
SSHOption 代表初始化的时候的选项.