mirror of
https://github.com/yusing/godoxy.git
synced 2025-05-20 20:52:33 +02:00
13 lines
301 B
Go
13 lines
301 B
Go
package v1
|
|
|
|
import (
|
|
"net/http"
|
|
"time"
|
|
|
|
"github.com/yusing/go-proxy/internal/net/gphttp/gpwebsocket"
|
|
"github.com/yusing/go-proxy/internal/route/routes/routequery"
|
|
)
|
|
|
|
func Health(w http.ResponseWriter, r *http.Request) {
|
|
gpwebsocket.DynamicJSONHandler(w, r, routequery.HealthMap, 1*time.Second)
|
|
}
|