first commit to git

This commit is contained in:
Philipp
2026-06-09 20:31:08 +02:00
commit 310573e3ea
25 changed files with 3973 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
package main
import (
"context"
"log/slog"
"os"
"os/signal"
"syscall"
)
func main() {
logger := slog.New(slog.NewJSONHandler(os.Stdout, nil))
ctx, stop := signal.NotifyContext(context.Background(), os.Interrupt, syscall.SIGTERM)
defer stop()
logger.Info("worker started")
<-ctx.Done()
logger.Info("worker stopped")
}
+3
View File
@@ -0,0 +1,3 @@
module proxui/worker
go 1.22