Documentation ¶
Index ¶
Constants ¶
View Source
const ( Name = "notify" TopicNotify = "notify" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Message ¶
type Message struct { From common.EntityId `json:"from"` Type string `json:"type"` Attributes m.AttributeValue `json:"attributes"` }
func NewMessage ¶
func NewMessage() *Message
type Notify ¶
type NotifyBind ¶
type NotifyBind struct {
// contains filtered or unexported fields
}
Javascript Binding
notifr
.newMessage() .send(msg)
func NewNotifyBind ¶
func NewNotifyBind(notify *notify) *NotifyBind
type ProviderRegistrar ¶
type TemplateBind ¶
type TemplateBind struct {
// contains filtered or unexported fields
}
Javascript Binding
template
.render('name', {'key':'val'})
func NewTemplateBind ¶
func NewTemplateBind(adaptor *adaptors.Adaptors) *TemplateBind
func (*TemplateBind) Render ¶
func (t *TemplateBind) Render(templateName string, params map[string]interface{}) *m.TemplateRender
Render ...
Click to show internal directories.
Click to hide internal directories.