metrics

package
v0.17.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PushGateway

type PushGateway struct {
	Pusher *push.Pusher
	// contains filtered or unexported fields
}

func NewPushGateway

func NewPushGateway(gatewayAddress string) *PushGateway

func (*PushGateway) Push

func (p *PushGateway) Push()

func (*PushGateway) SetExpiration

func (p *PushGateway) SetExpiration(newLeaseDiff time.Duration)

func (*PushGateway) SetFailureCount

func (p *PushGateway) SetFailureCount()

func (*PushGateway) SetFailureTime

func (p *PushGateway) SetFailureTime()

func (*PushGateway) SetSuccessTime

func (p *PushGateway) SetSuccessTime()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL