mirror of
https://github.com/lejianwen/rustdesk-api.git
synced 2025-11-29 08:33:21 +00:00
13 lines
178 B
Go
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)
|
|
}
|