caches

package
v0.0.0-...-7cbc1ea Latest Latest
Warning

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

Go to latest
Published: May 17, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleCacheErr

func HandleCacheErr(service string, err error) map[string]string

func MakeMemcachedCheck

func MakeMemcachedCheck(c *Cache) service.ServiceCheck

func MakeRedisCacheCheck

func MakeRedisCacheCheck(c *Cache) service.ServiceCheck

Types

type Cache

type Cache struct {
	Type     string `json:"type"`
	Addrs    string `json:"addrs"`
	UriOnly  string `json:"uri_only"`
	Name     string `json:"name"`
	Username string `json:"username"`
	Password string `json:"password"`
}

func (*Cache) GetCacheDriver

func (cache *Cache) GetCacheDriver() service.ServiceCheck

func (*Cache) Uri_Only

func (cache *Cache) Uri_Only() bool

Jump to

Keyboard shortcuts

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