http connector first impl

This commit is contained in:
Ilia Denisov
2026-03-12 23:45:06 +02:00
committed by GitHub
parent f985370089
commit 9adadc3bbf
13 changed files with 962 additions and 41 deletions
+1 -5
View File
@@ -5,7 +5,6 @@ import (
"errors"
"fmt"
"galaxy/client"
mc "galaxy/model/client"
"os"
"os/signal"
@@ -26,14 +25,11 @@ func main() {
}
}()
app := app.New()
settings := mc.Settings{
StoragePath: ".",
}
ctx, cancel := signal.NotifyContext(context.Background(), os.Interrupt)
defer cancel()
c, err := client.NewClient(ctx, nil, app, settings)
c, err := client.NewClient(ctx, nil, nil, app)
if err != nil {
return
}