monitoring

package
v0.0.0-...-7b3ddb2 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmptyMonitor

type EmptyMonitor struct {
	// contains filtered or unexported fields
}

func (*EmptyMonitor) Alarm

func (cm *EmptyMonitor) Alarm(detail string)

func (*EmptyMonitor) Alive

func (cm *EmptyMonitor) Alive()

func (*EmptyMonitor) FunctionTP

func (cm *EmptyMonitor) FunctionTP(startTime time.Time, hasErr bool)

func (EmptyMonitor) New

func (EmptyMonitor) New(key string) Monitor

type Monitor

type Monitor interface {
	New(key string) Monitor
	Alive()
	Alarm(detail string)
	FunctionTP(startTime time.Time, hasErr bool)
}

Jump to

Keyboard shortcuts

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