save
This commit is contained in:
parent
b740255bb8
commit
22031c44ef
@ -1,13 +1,13 @@
|
|||||||
package app
|
package app
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"f5"
|
|
||||||
"q5"
|
|
||||||
"mt"
|
|
||||||
"cs"
|
"cs"
|
||||||
"ss"
|
"f5"
|
||||||
"main/constant"
|
"main/constant"
|
||||||
. "main/global"
|
. "main/global"
|
||||||
|
"mt"
|
||||||
|
"q5"
|
||||||
|
"ss"
|
||||||
)
|
)
|
||||||
|
|
||||||
type app struct {
|
type app struct {
|
||||||
@ -82,3 +82,7 @@ func (this *app) AddNetMsg(hdr *f5.MsgHdr) {
|
|||||||
|
|
||||||
func (this *app) registerDataSources() {
|
func (this *app) registerDataSources() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (this *app) GetHttpListenPort() int32 {
|
||||||
|
return mt.Table.HallCluster.GetHttpListenPort()
|
||||||
|
}
|
||||||
|
@ -11,7 +11,7 @@ type httpListener struct {
|
|||||||
|
|
||||||
func (this *httpListener) Init() {
|
func (this *httpListener) Init() {
|
||||||
this.httpServer = new(f5.HttpServer)
|
this.httpServer = new(f5.HttpServer)
|
||||||
this.httpServer.Init("imserver.httplistener", 1000 * 10)
|
this.httpServer.Init("hallserver.httplistener", 1000*10)
|
||||||
this.httpServer.Start(mt.Table.HallCluster.GetHttpListenPort())
|
this.httpServer.Start(mt.Table.HallCluster.GetHttpListenPort())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user