memcache

package
v0.0.0-...-c3423aa Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package memcache is the native client probe for memcache

Index

Constants

View Source
const Kind string = "Memcache"

Kind is the type of driver

Variables

This section is empty.

Functions

This section is empty.

Types

type Memcache

type Memcache struct {
	conf.Options `yaml:",inline"`
	Context      context.Context `yaml:"-" json:"-"`
}

Memcache is the Memcache client

func New

func New(opt conf.Options) (*Memcache, error)

New create a Memcache client

func (*Memcache) Kind

func (m *Memcache) Kind() string

Kind return the name of client

func (*Memcache) Probe

func (m *Memcache) Probe() (bool, string)

Probe do the health check

Jump to

Keyboard shortcuts

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