Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Heartbeater ¶
type Heartbeater struct {
// contains filtered or unexported fields
}
Heartbeater sends pings to the platform.
func NewHeartbeater ¶
func NewHeartbeater(p Pinger) *Heartbeater
NewHeartbeater creates a new heartbeater using the given Pinger.
func (*Heartbeater) Run ¶
func (m *Heartbeater) Run(ctx context.Context)
Run runs the Heartbeater. This is a blocking method.
Click to show internal directories.
Click to hide internal directories.