telemetry

package
v0.6.7 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Telemetry

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

func (*Telemetry) Init

func (*Telemetry) Init(sec *ini.Section) error

参数为外部配置

func (*Telemetry) PluginMetaInfo

func (p *Telemetry) PluginMetaInfo() typex.XPluginMetaInfo

func (*Telemetry) Service

对外提供一些服务

func (*Telemetry) Start

func (*Telemetry) Start(typex.RuleX) error

func (*Telemetry) Stop

func (*Telemetry) Stop() error

type TelemetryConfig

type TelemetryConfig struct {
	Enable bool   `ini:"enable"`
	Addr   string `ini:"addr"`
}

Jump to

Keyboard shortcuts

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