Files
rustdesk-api/http/run.go
T

13 lines
178 B
Go
Raw Permalink Normal View History

2024-09-13 15:57:29 +08:00
//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)
}