lib

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2017 License: Apache-2.0 Imports: 4 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsShuttingDown

func IsShuttingDown(ctx context.Context) bool

IsShuttingDown is a convenience helper that returns true when the context is Done. True indicates an orderly shutdown is to begin immediately.

func LogCacheStats

func LogCacheStats(ctx context.Context, c gcache.Cache, cacheName string)

LogCacheStats emits logs periodically with cache hit, miss, lookup count, and hit rates.

Types

This section is empty.

Jump to

Keyboard shortcuts

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