Versions in this module Expand all Collapse all v0 v0.2.1 Oct 7, 2014 Changes in this version + func NewRegistry() *registry + type EventDispatcher interface + Dispatch func(name string, ev ...interface{}) + type EventRegistry interface + AddHandler func(h Handler, names ...string) + ClearEvents func(name string) + DelHandler func(h Handler, names ...string) + Dispatch func(name string, ev ...interface{}) + type Handler interface + Id func() HandlerID + Run func(...interface{}) + func NewHandler(h func(...interface{})) Handler + type HandlerID uint32 + func NewHandlerID() HandlerID + type MockEventDispatcher struct + func NewMockEventDispatcher(ctrl *gomock.Controller) *MockEventDispatcher + func (_m *MockEventDispatcher) Dispatch(name string, ev ...interface{}) + func (_m *MockEventDispatcher) EXPECT() *_MockEventDispatcherRecorder + type MockEventRegistry struct + func NewMockEventRegistry(ctrl *gomock.Controller) *MockEventRegistry + func (_m *MockEventRegistry) AddHandler(h Handler, names ...string) + func (_m *MockEventRegistry) ClearEvents(name string) + func (_m *MockEventRegistry) DelHandler(h Handler, names ...string) + func (_m *MockEventRegistry) Dispatch(name string, ev ...interface{}) + func (_m *MockEventRegistry) EXPECT() *_MockEventRegistryRecorder + type MockHandler struct + func NewMockHandler(ctrl *gomock.Controller) *MockHandler + func (_m *MockHandler) EXPECT() *_MockHandlerRecorder + func (_m *MockHandler) Id() HandlerID + func (_m *MockHandler) Run(_param0 ...interface{})