Versions in this module Expand all Collapse all v0 v0.1.0 Aug 23, 2019 Changes in this version + type AtomicManager struct + func NewAtomicManager() *AtomicManager + func (am *AtomicManager) AddHandler(newHandler func(interface{})) (int, error) + func (am *AtomicManager) Send(notification interface{}) + type Center interface + AddHandler func(Type, func(interface{})) (int, error) + Send func(Type, interface{}) error + type DecisionNotification struct + DecisionInfo map[string]interface{} + Type DecisionNotificationType + UserContext entities.UserContext + type DecisionNotificationType string + const Feature + type DefaultCenter struct + func NewNotificationCenter() *DefaultCenter + func (c *DefaultCenter) AddHandler(notificationType Type, handler func(interface{})) (int, error) + func (c *DefaultCenter) Send(notificationType Type, notification interface{}) error + type Handler interface + type Manager interface + AddHandler func(func(interface{})) (int, error) + Send func(message interface{}) + type Type string + const Decision