Documentation ¶
Index ¶
- func LoadDownloads(fs []string)
- func ParseFile(fn string) error
- func Pop3ReceiveMail(username, password string) ([]string, error)
- func PostDataToSlack(msg, channel string) bool
- func UploadImage(path string) string
- type CasperCmd
- func (self *CasperCmd) DecodePassword(p string) string
- func (self *CasperCmd) Finished() bool
- func (self *CasperCmd) GetArgsValue(key string) string
- func (self *CasperCmd) GetId() string
- func (self *CasperCmd) GetMessage() map[string]interface{}
- func (self *CasperCmd) GetStatus() int
- func (self *CasperCmd) SetInputArgs(input map[string]string)
- type CasperOutput
- type CasperServer
- type Command
- type FakeCmd
- type Mail
- type MailProcessor
- type ServerData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadDownloads ¶
func LoadDownloads(fs []string)
func Pop3ReceiveMail ¶
func PostDataToSlack ¶
func UploadImage ¶
Types ¶
type CasperCmd ¶
type CasperCmd struct {
// contains filtered or unexported fields
}
func NewCasperCmd ¶
func (*CasperCmd) DecodePassword ¶
func (*CasperCmd) GetArgsValue ¶
func (*CasperCmd) GetMessage ¶
func (*CasperCmd) SetInputArgs ¶
type CasperOutput ¶
type CasperServer ¶
type CasperServer struct { Host string // contains filtered or unexported fields }
func NewCasperServer ¶
func NewCasperServer(host string) *CasperServer
func (*CasperServer) ServeHTTP ¶
func (self *CasperServer) ServeHTTP(w http.ResponseWriter, req *http.Request)
func (*CasperServer) ServeWebSocket ¶
func (self *CasperServer) ServeWebSocket(ws *websocket.Conn)
type FakeCmd ¶
type FakeCmd struct {
// contains filtered or unexported fields
}
func NewFakeCmd ¶
func (*FakeCmd) GetMessage ¶
func (*FakeCmd) SetInputArgs ¶
type MailProcessor ¶
type MailProcessor struct { }
func NewMailProcessor ¶
func NewMailProcessor() *MailProcessor
type ServerData ¶
type ServerData struct {
// contains filtered or unexported fields
}
func NewServerData ¶
func NewServerData() *ServerData
func (*ServerData) GetCommand ¶
func (self *ServerData) GetCommand(id string) Command
func (*ServerData) GetNewCommand ¶
func (self *ServerData) GetNewCommand(tmpl, proxyServer string) Command
Source Files ¶
Click to show internal directories.
Click to hide internal directories.