Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NotificationHandler ¶
type NotificationHandler struct { Config *configuration.Config EventStore *events.EventStore IdentityStore *identities.IdentityStore }
func NewNotificationHandler ¶
func NewNotificationHandler(config *configuration.Config, eventStore *events.EventStore, identityStore *identities.IdentityStore) *NotificationHandler
func (*NotificationHandler) GetNotification ¶
func (h *NotificationHandler) GetNotification(w http.ResponseWriter, r *http.Request)
func (*NotificationHandler) PostNotification ¶
func (h *NotificationHandler) PostNotification(w http.ResponseWriter, r *http.Request)
func (*NotificationHandler) SendMsg ¶
func (h *NotificationHandler) SendMsg(identity identities.Identity, msg string) error
type TouchpointMsgModel ¶
type TouchpointMsgModel struct { Identity identities.Identity `json:"identity"` Msg string `json:"msg"` }
Click to show internal directories.
Click to hide internal directories.