Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventUnmarshaler ¶
type EventUnmarshaler struct {
Version uint64
EventType string
AggregateId string
GroupId string
Unmarshal func(v interface{}) error
}
EventUnmarshaler provides event.
type Iter ¶
type Iter interface {
Next(ctx context.Context, eventUnmarshaler *EventUnmarshaler) bool
Err() error
}
Iter provides iterator over events from eventstore or eventbus.
type MarshalerFunc ¶
MarshalerFunc marshal struct to bytes.
type UnmarshalerFunc ¶
UnmarshalerFunc unmarshal bytes to pointer of struct.
Click to show internal directories.
Click to hide internal directories.