Continued scaffolding and interface definitions

This commit is contained in:
2025-10-12 02:20:20 +08:00
parent 2e5fd96014
commit c3e0eba4b1
18 changed files with 164 additions and 15 deletions

View File

@@ -1,2 +1,20 @@
// Package source
package source
import (
"context"
"gitlab.michelsen.id/phillmichelsen/tessera/services/data_service/internal/node"
)
type Source interface {
Start(ctx context.Context, cfg string, io IO) error
Stop()
Serve(key string) error
Unserve(key string) error
}
type IO interface {
node.Sender
}