Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Snitch ¶
Snitch reports to http://deadmansnitch.com On Error, it sends the errors message along with an error code
Types ¶
type Fn ¶
Fn is the core of micro. It's the function that gets executed when a trigger fires. Fn should log output to logger and return error
type Micro ¶
type Micro struct {
// contains filtered or unexported fields
}
func (*Micro) SetEventer ¶
SetEventer sets an eventservice looger instance
func (*Micro) Start ¶
func (m *Micro) Start()
Start starts the scheduler and returns immediately HTTP Triggers will not work this way (right now)
func (*Micro) StartAndListen ¶
StartAndListen starts the scheduler and the HTTP listener
func (*Micro) StartAndWait ¶
func (m *Micro) StartAndWait()
StartAndWait starts the scheduler and waits indefinitely Works with Cron, HTTP and SQS Trigger
func (*Micro) StartWithDone ¶
func (m *Micro) StartWithDone() chan interface{}
StartWithDone starts the scheduler and returns a done channel Works with Cron, HTTP and SQS Trigger
Source Files ¶
Click to show internal directories.
Click to hide internal directories.