Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Blob ¶
type Blob struct { // Data is the payload content. Data *simplejson.Json // ID sets the blob primary key in the Elastic Search store. ID string // SnapshotID identifies the field of the snapshotted data that should be // used as the snapshot Id. SnapshotID string // SnapshotField identifies the field of the blob data that should be // extracted and used as a snapshot. SnapshotField string // Timestamp is the creation time of the blob. It defaults to the object // creation time but can be overriden, most notably in the case of life // events when the queue timestamp will be used instead. Timestamp time.Time // Type is the blob type in the Elastic Search store. Type string }
Blob is a opaque type representing an arbitrary payload from GitHub.
func NewBlobFromJSON ¶
func (*Blob) HasAttribute ¶
Click to show internal directories.
Click to hide internal directories.