memcached

package
v0.0.0-...-18e1ab8 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ctx context.Context, interval, expiration int32, servers ...string) tcache.Cacher

New creates a new Cacher from a list of Memcached servers, a key expiration time given in seconds, a DNS refresh interval, and a context. The Cacher will continue to update the DNS entries for the Memcached servers every interval as long as the context is valid.

Types

This section is empty.

Jump to

Keyboard shortcuts

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