mirror of
https://github.com/duanhf2012/origin.git
synced 2026-03-15 05:07:29 +08:00
清理不必要的模块
This commit is contained in:
@@ -1 +0,0 @@
|
|||||||
package sysmodule
|
|
||||||
@@ -1,35 +0,0 @@
|
|||||||
package wsservice
|
|
||||||
|
|
||||||
import (
|
|
||||||
"origin/service"
|
|
||||||
)
|
|
||||||
|
|
||||||
//声明控制器函数Map类型变量
|
|
||||||
|
|
||||||
type cWSService struct {
|
|
||||||
service.BaseService
|
|
||||||
port int
|
|
||||||
}
|
|
||||||
|
|
||||||
func (ws *cWSService) OnInit() error {
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (ws *cWSService) OnRun() error {
|
|
||||||
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (ws *cWSService) OnDestory() error {
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func NewWSService(servicetype int) *cWSService {
|
|
||||||
wss := new(cWSService)
|
|
||||||
wss.Init(wss, servicetype)
|
|
||||||
return wss
|
|
||||||
}
|
|
||||||
|
|
||||||
func (ws *cWSService) RPC_TestMethod(a string, b int) error {
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user