Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Errors ¶ added in v1.10.0
Errors for observers.
type Observer ¶
type Observer struct {
// contains filtered or unexported fields
}
Observer represents a subscriber that mantaines state about probes.
func NewObserver ¶
func NewObserver(names []string, sub *Subscriber) *Observer
NewObserver from probe names and subscriber.
type Subscriber ¶
type Subscriber struct {
// contains filtered or unexported fields
}
Subscriber subscribes to multiple probes.
func NewSubscriber ¶
func NewSubscriber(names []string) *Subscriber
NewSubscriber for multiple probes.
func (*Subscriber) Receive ¶
func (s *Subscriber) Receive() <-chan *probe.Tick
Receive from the subscriber.
Click to show internal directories.
Click to hide internal directories.