Browse Source

keys: transactions.go -> types.go

pull/1782/head
Ethan Buchman 7 years ago
parent
commit
57346134a5
2 changed files with 9 additions and 10 deletions
  1. +0
    -10
      keys/storage.go
  2. +9
    -0
      keys/types.go

+ 0
- 10
keys/storage.go View File

@ -1,10 +0,0 @@
package keys
// Storage has many implementation, based on security and sharing requirements
// like disk-backed, mem-backed, vault, db, etc.
type Storage interface {
Put(name string, salt []byte, key []byte, info Info) error
Get(name string) (salt []byte, key []byte, info Info, err error)
List() (Infos, error)
Delete(name string) error
}

keys/transactions.go → keys/types.go View File


Loading…
Cancel
Save