mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-14 07:34:43 +08:00
优化模块功能
This commit is contained in:
@@ -51,10 +51,10 @@ func (slf *HttpServerService) initRouterHandler() http.Handler {
|
||||
return cors.Handler(r)
|
||||
}
|
||||
|
||||
func (slf *HttpServerService) OnRun() error {
|
||||
func (slf *HttpServerService) OnRun() bool {
|
||||
|
||||
slf.httpserver.Start()
|
||||
return nil
|
||||
return false
|
||||
}
|
||||
|
||||
func NewHttpServerService(port uint16) *HttpServerService {
|
||||
|
||||
Reference in New Issue
Block a user