Documentation ¶
Index ¶
- type Event
- func (e *Event) Bytes() (string, error)
- func (e *Event) Created() time.Time
- func (e *Event) EventID() string
- func (e *Event) ID() string
- func (e *Event) IsEdge()
- func (e *Event) Linked(ctx context.Context) (*Event, error)
- func (e *Event) Meta() *event.Meta
- func (e *Event) Position() uint64
- func (e *Event) StreamID() string
- func (e *Event) Type() string
- func (e *Event) Values() map[string]interface{}
- type EventResolver
- type EventStore
- func (e *EventStore) EventAdded(ctx context.Context, streamID string, after int64) (<-chan *Event, error)
- func (es *EventStore) Events(ctx context.Context, streamID string, paging *gql.PageInput) (*gql.Connection, error)
- func (e *EventStore) GetMiddleware() func(http.Handler) http.Handler
- func (es *EventStore) IsResolver()
- func (es *EventStore) TruncateStream(ctx context.Context, streamID string, index int64) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventResolver ¶
type EventStore ¶
type EventStore struct {
*ev.EventStore
}
func (*EventStore) EventAdded ¶
func (*EventStore) Events ¶
func (es *EventStore) Events(ctx context.Context, streamID string, paging *gql.PageInput) (*gql.Connection, error)
func (*EventStore) GetMiddleware ¶
func (e *EventStore) GetMiddleware() func(http.Handler) http.Handler
func (*EventStore) IsResolver ¶
func (es *EventStore) IsResolver()
func (*EventStore) TruncateStream ¶
Click to show internal directories.
Click to hide internal directories.