变化事件监听

This commit is contained in:
2023-07-15 15:18:58 +08:00
parent 5add1c6e53
commit 64707229a5
3 changed files with 203 additions and 0 deletions

View File

@@ -89,6 +89,7 @@ func main() {
r.HandleFunc("/api/params", routers.ParamsListGet).Methods("GET")
r.HandleFunc("/api/params/model", routers.ParamsModelsGet).Methods("GET")
r.HandleFunc("/api/account", routers.AccountGet).Methods("GET")
r.HandleFunc("/api/ws", routers.WebSocket).Methods("GET")
r.HandleFunc("/img/{id}", routers.WebpGet).Methods("GET")