usercache

package
v0.0.0-...-70e5bc8 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: Apache-2.0 Imports: 5 Imported by: 4

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