Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventStream ¶
type EventStream struct {
// contains filtered or unexported fields
}
func NewStream ¶
func NewStream() *EventStream
func Recreate ¶
func Recreate(stream []Event) *EventStream
func RecreateFromFile ¶
func RecreateFromFile(filePath string) *EventStream
func (*EventStream) Add ¶
func (es *EventStream) Add(e Event)
func (*EventStream) Count ¶
func (es *EventStream) Count() int
func (*EventStream) HasEvents ¶
func (es *EventStream) HasEvents() bool
func (*EventStream) Persist ¶
func (es *EventStream) Persist(output string)
func (*EventStream) Stream ¶
func (es *EventStream) Stream() []Event
Click to show internal directories.
Click to hide internal directories.