usage_client

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var URL = ""

Functions

This section is empty.

Types

type Client

type Client struct {
	URL string // Defaults to `usage_client.URL`
	// contains filtered or unexported fields
}

func NewClient

func NewClient() *Client

func (*Client) Send

func (c *Client) Send(usage UsageValues) (*http.Response, error)

Send sends usage statistics about the system.

func (*Client) WithLogger

func (c *Client) WithLogger(log *zap.Logger)

type UsageValues

type UsageValues map[string]string

Jump to

Keyboard shortcuts

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