Files
universal-data-ingest/src/udi/handlers/handler/handler.go
Wolfgang Hottgenroth a5209dad8f
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
fix configuration
2023-12-05 16:21:30 +01:00

16 lines
176 B
Go

package handler
import "time"
type MessageT struct {
Timestamp time.Time
Topic string
Payload string
}
type Handler interface {
GetId() string
Handle(MessageT)
}