storage

package
v0.0.0-...-9be813a Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package storage defines storage interfaces.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeySets

type KeySets interface {
	// Get returns the keyset for a given domain and app.
	// instance supports hosting multiple usermanager servers on the same infrastructure.
	Get(ctx context.Context, instance int64, domainID, appID string) (*tpb.KeySet, error)
	// Set saves a keyset.
	Set(ctx context.Context, instance int64, domainID, appID string, k *tpb.KeySet) error
}

KeySets gets and sets keysets.

Jump to

Keyboard shortcuts

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