game2006go/server/imserver/httplistener.go
2023-08-13 15:26:56 +08:00

20 lines
332 B
Go

package main
import (
"f5"
"mt"
)
type HttpListener struct {
httpServer *f5.HttpServer
}
func (this *HttpListener) init() {
this.httpServer = new (f5.HttpServer)
this.httpServer.Init("imserver.httplistener", 1000 * 10)
this.httpServer.Start(mt.Table.IMCluster.GetHttpListenPort())
}
func (this *HttpListener) unInit() {
}