Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Flock ¶
type Flock struct {
Url string
}
Flock handler implements handler.Handler interface, Notify event to Flock channel
func (*Flock) ObjectCreated ¶
func (f *Flock) ObjectCreated(obj interface{})
func (*Flock) ObjectDeleted ¶
func (f *Flock) ObjectDeleted(obj interface{})
func (*Flock) ObjectUpdated ¶
func (f *Flock) ObjectUpdated(oldObj, newObj interface{})
type FlockMessage ¶
type FlockMessage struct {
Notification string `json:"notification"`
Text string `json:"text"`
Attachements []FlockMessageAttachement `json:"attachments"`
}
type FlockMessageAttachement ¶
type FlockMessageAttachement struct {
Title string `json:"title"`
Color string `json:"color"`
Views FlockMessageAttachementViews `json:"views"`
}
type FlockMessageAttachementViews ¶
type FlockMessageAttachementViews struct {
Flockml string `json:"flockml"`
}
Click to show internal directories.
Click to hide internal directories.