Documentation ¶ Index ¶ func PollCmd(w http.ResponseWriter, r *http.Request) type PollConf func LoadConf(path string) (*PollConf, error) type PollRequest func NewPollRequest(s string) (*PollRequest, error) type PollUser Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func PollCmd ¶ func PollCmd(w http.ResponseWriter, r *http.Request) Types ¶ type PollConf ¶ type PollConf struct { Host string User PollUser } var Conf *PollConf func LoadConf ¶ func LoadConf(path string) (*PollConf, error) type PollRequest ¶ type PollRequest struct { TeamId string ChannelId string Message string Emojis []string } func NewPollRequest ¶ func NewPollRequest(s string) (*PollRequest, error) type PollUser ¶ type PollUser struct { Id string Password string } Source Files ¶ View all Source files conf.go poll_func.go poll_request.go Click to show internal directories. Click to hide internal directories.