wip: 0.2.0
1. websocket 连接,退出,消息 2. 基本页面
This commit is contained in:
@ -23,6 +23,11 @@ func Start(ctx context.Context) <-chan struct{} {
|
||||
app.Post("/api/ushare/:code", handler.ShareUpload()) // 分片上传接口
|
||||
app.Post("/api/uauth/login", handler.AuthLogin())
|
||||
|
||||
{
|
||||
api := app.Group("/api/ulocal")
|
||||
api.Get("/registry", handler.LocalRegistry())
|
||||
}
|
||||
|
||||
ready := make(chan struct{})
|
||||
ln, err := net.Listen("tcp", opt.Cfg.Address)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user