stats

package
v1.36.4 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 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