usercache

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

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

Go to latest
Published: Dec 22, 2017 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package usercache provides a KeyServer implementation that wraps another and caches Lookups. If a Lookup is made for the user that last Dialed the service, data from that user's config will be provided instead of making a request to the underlying server. The caching KeyServer will defer Dialing the underlying service until a Lookup or Put request needs to access that service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Global

func Global(s upspin.KeyServer) upspin.KeyServer

Global returns the provided key server wrapped in a global user cache.

func ResetGlobal

func ResetGlobal()

ResetGlobal resets the global cache.

Types

This section is empty.

Jump to

Keyboard shortcuts

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