alarmreporter

package
v1.2.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: May 10, 2022 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 告警回调接口
	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)

SetRealPlugin 设置

Jump to

Keyboard shortcuts

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