Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListenerRegistry ¶
type ListenerRegistry struct {
// contains filtered or unexported fields
}
func NewListenerRegistry ¶
func NewListenerRegistry() *ListenerRegistry
func (*ListenerRegistry) Add ¶
func (r *ListenerRegistry) Add(key interface{}, listener func())
func (*ListenerRegistry) Fire ¶
func (r *ListenerRegistry) Fire()
func (*ListenerRegistry) Remove ¶
func (r *ListenerRegistry) Remove(key interface{})
Click to show internal directories.
Click to hide internal directories.