Documentation ¶
Index ¶
Constants ¶
View Source
const AppKey = "httpgo:app"
AppKey 定义字符串凭证
View Source
const KernelKey = "httpgo:kernel"
KernelKey 提供 kenel 服务凭证
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App interface { // Version 定义当前版本 Version() string //BaseFolder 定义项目基础地址 BaseFolder() string // ConfigFolder 定义了配置文件的路径 ConfigFolder() string // LogFolder 定义了日志所在路径 LogFolder() string // ProviderFolder 定义业务自己的服务提供者地址 ProviderFolder() string // MiddlewareFolder 定义业务自己定义的中间件 MiddlewareFolder() string // CommandFolder 定义业务定义的命令 CommandFolder() string // RuntimeFolder 定义业务的运行中间态信息 RuntimeFolder() string // TestFolder 存放测试所需要的信息 TestFolder() string }
App 定义接口
Click to show internal directories.
Click to hide internal directories.