Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Consumer ¶
type Consumer struct {
// contains filtered or unexported fields
}
Consumer of API events
type HandlerFunc ¶
HandlerFunc for API events
type ID ¶
type ID string
ID type for a specific event. This datatype should be used for custom event type definitions.
type Meta ¶
type Meta struct { UUID string `json:"uuid"` ID ID `json:"id"` Version string `json:"version"` CreatedAt time.Time `json:"created_at"` }
Meta information of an event payload
type PayloadMeta ¶
type PayloadMeta struct {
Version string `json:"version"`
}
PayloadMeta information of a specific. optional to implement
Click to show internal directories.
Click to hide internal directories.