client

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

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

Go to latest
Published: Aug 19, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MetricsStorageClient

type MetricsStorageClient struct {
	Address             string
	IsGzip              bool
	PayloadSignatureKey string
	RestyClient         *resty.Client
	PublicKeyFilePath   string
	IP                  string
}

func New

func (*MetricsStorageClient) SendAllMetricsInOneRequest

func (msc *MetricsStorageClient) SendAllMetricsInOneRequest(memStats *metric.MetricsSet) (err error)

func (*MetricsStorageClient) SendMetric

func (msc *MetricsStorageClient) SendMetric(met metric.URLFormatter) (err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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