Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommonOriginator ¶
type CommonOriginator struct { // id ID string `json:"id,omitempty"` // version Version string `json:"version,omitempty"` }
CommonOriginator common originator swagger:model commonOriginator
type EventstoreAppLogEntry ¶
type EventstoreAppLogEntry struct { // event Event *EventstoreEvent `json:"event,omitempty"` // the id number in the stream ID string `json:"id,omitempty"` }
EventstoreAppLogEntry eventstore app log entry swagger:model eventstoreAppLogEntry
type EventstoreAppLogResponse ¶
type EventstoreAppLogResponse struct { // results Results []*EventstoreAppLogEntry `json:"results"` }
EventstoreAppLogResponse eventstore app log response swagger:model eventstoreAppLogResponse
type EventstoreAppendEventResponse ¶
type EventstoreAppendEventResponse interface{}
EventstoreAppendEventResponse eventstore append event response swagger:model eventstoreAppendEventResponse
type EventstoreEvent ¶
type EventstoreEvent struct { // this is the event type that this is related to // event type should be in the format of `Entity.Created` so that store can infer the // partition this event belongs to EventType string `json:"event_type,omitempty"` // utc unix timestamp of the event occurence OccuredOn int64 `json:"occured_on,omitempty"` // The object this event belongs to Originator *CommonOriginator `json:"originator,omitempty"` // the data of the event is inside the payload Payload string `json:"payload,omitempty"` }
EventstoreEvent Event is what you operate on with event store It's the smalled bit that the event store is aware of swagger:model eventstoreEvent
type EventstoreGetEventsResponse ¶
type EventstoreGetEventsResponse struct { // events Events []*EventstoreEvent `json:"events"` }
EventstoreGetEventsResponse eventstore get events response swagger:model eventstoreGetEventsResponse
type EventstoreHealthResponse ¶
type EventstoreHealthResponse struct { // message Message string `json:"message,omitempty"` }
EventstoreHealthResponse eventstore health response swagger:model eventstoreHealthResponse