20 lines
332 B
Go
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() {
|
|
}
|