Add session and provider controller interfaces. Begun designing worker system.

This commit is contained in:
2025-09-18 04:00:41 +00:00
parent 7109acc207
commit 56a36283e5
5 changed files with 35 additions and 3 deletions

View File

@@ -1 +0,0 @@
package worker

View File

@@ -1 +0,0 @@
package worker

View File

@@ -0,0 +1,12 @@
package worker
import (
"github.com/google/uuid"
"gitlab.michelsen.id/phillmichelsen/tessera/services/data_service/internal/manager"
)
type Worker interface {
ID() uuid.UUID
Start(cfg map[string]string, controller manager.SessionController) error
Stop()
}