Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Subscription ¶
type Subscription struct {
	Archive []Event      // All the events from the archive.
	New     <-chan Event // New events coming in.
}
    func Subscribe ¶
func Subscribe() Subscription
func (Subscription) Cancel ¶
func (s Subscription) Cancel()
Owner of a subscription must cancel it when they stop listening to events.
 Click to show internal directories. 
   Click to hide internal directories.