replace endless with manners

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2016-03-27 16:33:48 +08:00
parent 87bc0ba6bf
commit 9c8c0e08df
2 changed files with 2 additions and 2 deletions

View File

View File

@ -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())
}