first
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
//go:build !windows
|
||||
|
||||
package http
|
||||
|
||||
import (
|
||||
"github.com/fvbock/endless"
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
func Run(g *gin.Engine, addr string) {
|
||||
endless.ListenAndServe(addr, g)
|
||||
}
|
||||
Reference in New Issue
Block a user