replace endless with manners
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
87bc0ba6bf
commit
9c8c0e08df
|
@ -2,7 +2,7 @@ package gopush
|
|||
|
||||
import (
|
||||
api "github.com/appleboy/gin-status-api"
|
||||
"github.com/fvbock/endless"
|
||||
"github.com/braintree/manners"
|
||||
"github.com/gin-gonic/gin"
|
||||
"log"
|
||||
"net/http"
|
||||
|
@ -55,5 +55,5 @@ func GetMainEngine() *gin.Engine {
|
|||
}
|
||||
|
||||
func RunHTTPServer() {
|
||||
endless.ListenAndServe(":"+PushConf.Core.Port, GetMainEngine())
|
||||
manners.ListenAndServe(":"+PushConf.Core.Port, GetMainEngine())
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue