certdb

package
v0.16.2 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2019 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

type DB interface {
	// SavePublicKey adds a new bandwidth agreement.
	SavePublicKey(context.Context, storj.NodeID, crypto.PublicKey) error
	// GetPublicKey gets the public key of uplink corresponding to uplink id
	GetPublicKey(context.Context, storj.NodeID) (crypto.PublicKey, error)
}

DB stores uplink public keys.

Jump to

Keyboard shortcuts

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