Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BoolResponse ¶
type BoolResponse struct { Ok bool `json:"ok"` Result bool `json:"result"` Error string `json:"description"` }
BoolResponse struct, contains a boolean value
type IntResponse ¶
type IntResponse struct { Ok bool `json:"ok"` Result int `json:"result"` Error string `json:"description"` }
IntResponse struct, contains an int value
type PartialParse ¶
type PartialParse struct { Ok bool `json:"ok"` Poll map[string]json.RawMessage `json:"result"` Error string `json:"description"` }
PartialParse struct, parses all to a json rawMessage
type PollArrayResponse ¶
type PollArrayResponse struct { Ok bool `json:"ok"` PollArray []*polls.Poll `json:"result"` Error string `json:"description"` }
PollArrayResponse struct, contains an array of Poll
type PollResponse ¶
type PollResponse struct { Ok bool `json:"ok"` Poll *polls.Poll `json:"result"` Error string `json:"description"` }
PollResponse struct, contains a Poll
type StringResponse ¶
type StringResponse struct { Ok bool `json:"ok"` Result string `json:"result"` Error string `json:"description"` }
StringResponse struct, contains a string
Click to show internal directories.
Click to hide internal directories.