alarmreporter

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 3 more Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlarmReporter

type AlarmReporter interface {
	plugin.Plugin
	//告警回调接口
	ReportAlarm(level int, message string) error
}

AlarmReporter 【扩展点接口】上报告警信息

type Proxy

type Proxy struct {
	AlarmReporter
	// contains filtered or unexported fields
}

proxy of AlarmReporter

func (*Proxy) SetRealPlugin

func (p *Proxy) SetRealPlugin(plug plugin.Plugin, engine model.Engine)

设置

Jump to

Keyboard shortcuts

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