mirror of
https://github.com/lejianwen/rustdesk-api.git
synced 2026-05-04 21:46:05 +00:00
first
This commit is contained in:
12
http/run.go
Normal file
12
http/run.go
Normal file
@@ -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