Files
rustdesk-api/http/run.go
2024-09-13 15:57:29 +08:00

13 lines
178 B
Go

//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)
}