stats

package
v1.35.1 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func InitializeClient

func InitializeClient(cfg Config) (*Client, error)

func (*Client) Incr

func (c *Client) Incr(name string, tags []string, rate float64)

func (*Client) Timing

func (c *Client) Timing(name string, value time.Duration, tags []string, rate float64)

type Config

type Config struct {
	Enabled bool
	Address string
}

Jump to

Keyboard shortcuts

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