poll

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2017 License: MIT Imports: 9 Imported by: 0

Documentation

Index

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL