Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EventTypes = []string{
"PollCreated",
"PollOpened",
"PollClosed",
"IssueAppended",
"BallotCast",
}
Functions ¶
This section is empty.
Types ¶
type BallotSelection ¶
type BallotSelection struct { IssueTopic string `json:"issue_topic"` WroteIn bool `json:"wrote_in"` Choice int `json:"choice"` WriteIn string `json:"write_in"` Comment string `json:"comment"` }
BallotSelection metadata items for BallotCast event
type IssueAppended ¶
type IssueAppended struct { Topic string `json:"topic"` Choices []string `json:"choices"` CanWriteIn bool `json:"can_write_in"` }
IssueAppended metadata for IssueAppended event
type PollCreated ¶
type PollCreated struct {
ID string `json:"id"`
}
PollCreated metadata for PollCreated event
Click to show internal directories.
Click to hide internal directories.