reporting

package
v1.6.4-rc0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2022 License: MIT Imports: 5 Imported by: 29

Documentation

Overview

Sends anonymous reports to InfluxData

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Enabled bool   `toml:"enabled"`
	URL     string `toml:"url"`
}

func NewConfig

func NewConfig() Config

type Diagnostic added in v1.4.0

type Diagnostic interface {
	Error(msg string, err error)
}

type Service

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

Sends anonymous usage information every 12 hours.

func NewService

func NewService(c Config, info vars.Infoer, d Diagnostic) *Service

func (*Service) Close

func (s *Service) Close() error

func (*Service) Open

func (s *Service) Open() error

Jump to

Keyboard shortcuts

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