1 Star 0 Fork 0

后端组 / mvc

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
ws.go 1.02 KB
一键复制 编辑 原始数据 按行查看 历史
heweiosc 提交于 2020-04-16 21:13 . init web server
package Base
type WebSocketApp struct {
Ctx ICtxContainer
AppName string
Version string
}
const WebSocketAppName = "WebSocketApp"
const WebSocketAppVersion = "1.0.0-Beta"
func NewWsApp(name ...string) IApplication {
var appName = WebSocketAppName
if len(name) > 0 {
appName = name[0]
}
return &AppWeb{
Ctx: AppContext(),
AppName: appName,
Version: WebSocketAppVersion,
}
}
func (w *WebSocketApp) Boot() {
panic("implement me")
}
func (w *WebSocketApp) Init() {
panic("implement me")
}
func (w *WebSocketApp) Run() {
panic("implement me")
}
func (w *WebSocketApp) Stop() {
panic("implement me")
}
func (w *WebSocketApp) Destroy() {
panic("implement me")
}
func (w *WebSocketApp) Context() ICtxContainer {
return w.Ctx
}
func (w *WebSocketApp) Component(string) (interface{}, error) {
panic("implement me")
}
func (w *WebSocketApp) Hook(string, func(string, interface{})) {
panic("implement me")
}
func (w *WebSocketApp) On(string, IAppEventHandler) {
panic("implement me")
}
1
https://gitee.com/nuokwan_backend_group/mvc.git
git@gitee.com:nuokwan_backend_group/mvc.git
nuokwan_backend_group
mvc
mvc
1bf86c47ef7b

搜索帮助

53164aa7 5694891 3bd8fe86 5694891