Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { // partition keys, we often use the timestamp with format YYMMDD Bucket string `json:"bucket" validate:"required"` Workspace string `json:"workspace" validate:"required"` App string `json:"app" validate:"required"` Type string `json:"type" validate:"required"` // clustering keys // chronologically sortable id - ksuid - 1sec resolution Id string `json:"id" validate:"required"` // properties Timestamps int64 `json:"timestamps"` Data string `json:"data"` }
func (*Event) WithBucket ¶
Click to show internal directories.
Click to hide internal directories.