1 Star 0 Fork 0

后端组/mvc

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
rpc.go 955 Bytes
一键复制 编辑 原始数据 按行查看 历史
heweiosc 提交于 2020-04-16 21:13 +08:00 . init web server
package Base
type RpcApp struct {
Ctx ICtxContainer
AppName string
Version string
}
const RpcAppName = "RpcApp"
const RpcAppVersion = "1.0.0-Beta"
func NewRpcApp(name ...string) IApplication {
var appName = RpcAppName
if len(name) > 0 {
appName = name[0]
}
return &RpcApp{
Ctx: AppContext(),
AppName: appName,
Version: RpcAppVersion,
}
}
func (r *RpcApp) Boot() {
panic("implement me")
}
func (r *RpcApp) Init() {
panic("implement me")
}
func (r *RpcApp) Run() {
panic("implement me")
}
func (r *RpcApp) Stop() {
panic("implement me")
}
func (r *RpcApp) Destroy() {
panic("implement me")
}
func (r *RpcApp) Context() ICtxContainer {
return r.Ctx
}
func (r *RpcApp) Component(string) (interface{}, error) {
panic("implement me")
}
func (r *RpcApp) Hook(string, func(string, interface{})) {
panic("implement me")
}
func (r *RpcApp) On(string, IAppEventHandler) {
panic("implement me")
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/nuokwan_backend_group/mvc.git
git@gitee.com:nuokwan_backend_group/mvc.git
nuokwan_backend_group
mvc
mvc
1bf86c47ef7b

搜索帮助