All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
16 lines
176 B
Go
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)
|
|
}
|
|
|