blob: 427427b3245d2c54f000212eeccfc46c3804f648 [file] [log] [blame]
package events
type EventState string
const (
EventStateNew EventState = "NEW"
EventStateProcessing EventState = "PROCESSING"
EventStateDone EventState = "DONE"
)
type Event struct {
Id string
State EventState
NodeId string
}
type EventStore interface {
GetEventsInState(state EventState) ([]Event, error)
}