wip: 0.2.1

1. websocket 连接,退出 优化
  2. 基本页面
This commit is contained in:
loveuer
2025-05-15 17:39:56 +08:00
parent ec3f76e0c0
commit 3053394f03
9 changed files with 443 additions and 258 deletions

View File

@ -25,7 +25,9 @@ func Start(ctx context.Context) <-chan struct{} {
{
api := app.Group("/api/ulocal")
api.Get("/registry", handler.LocalRegistry())
api.Post("/register", handler.LocalRegister())
api.Get("/clients", handler.LocalClients())
api.Get("/ws", handler.LocalWS())
}
ready := make(chan struct{})