feat: deregister worker on close
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-01-18 12:17:02 +01:00
parent 2cdab4a1ab
commit b6e9882855
8 changed files with 132 additions and 70 deletions

View File

@@ -11,6 +11,7 @@ import (
)
type Querier interface {
DeregisterWorker(ctx context.Context, workerID uuid.UUID) error
GetWorkers(ctx context.Context) ([]*GetWorkersRow, error)
Ping(ctx context.Context) (int32, error)
RegisterWorker(ctx context.Context, arg *RegisterWorkerParams) error