Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Monitor ¶
func (*Monitor) Get ¶
func (*Monitor) Subscribe ¶
func (m *Monitor) Subscribe() *Subscription
func (*Monitor) Unsubscribe ¶
func (m *Monitor) Unsubscribe(sub *Subscription)
type Subscription ¶
type Subscription struct {
C chan *Event
// contains filtered or unexported fields
}
type UpWatcher ¶
func (*UpWatcher) Subscribe ¶
func (m *UpWatcher) Subscribe() *Subscription
func (*UpWatcher) Unsubscribe ¶
func (m *UpWatcher) Unsubscribe(sub *Subscription)
Source Files
¶
- monitor.go
- up_watcher.go
Click to show internal directories.
Click to hide internal directories.