memcached

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2024 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	BaseDir    string        `toml:"-"`
	Timeout    time.Duration `toml:"timeout"`
	TLSEnabled bool          `toml:"tls_enabled"`

	clienttls.ClientConfig
}

func (*Config) Scrape

func (c *Config) Scrape(ctx context.Context, target string, ss *types.Samples) error

type Memcached

type Memcached struct{}

func (*Memcached) ParseConfig

func (*Memcached) ParseConfig(baseDir string, bs []byte) (any, error)

func (*Memcached) Scrape

func (*Memcached) Scrape(ctx context.Context, target string, c any, ss *types.Samples) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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