Documentation ¶
Index ¶
Constants ¶
View Source
const ( GetEntries = "get_entries" EntriesReceived = "entries_received" SaveNewEntry = "save_new_entry" RemoveEntry = "remove_entry" FilterEntries = "filter_entries" )
Variables ¶
View Source
var EventChannel chan Event
Functions ¶
func NewEventListener ¶
func NewEventListener() chan Event
func Subscribe ¶
func Subscribe(eventType string, handler EventHandler)
func Subscriptions ¶
Types ¶
type EventHandler ¶
Click to show internal directories.
Click to hide internal directories.