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.
Click to show internal directories.
Click to hide internal directories.