Browse Source

fix from revert

pull/1782/head
Ethan Buchman 7 years ago
parent
commit
377d3c7e11
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      keys/types.go

+ 2
- 2
keys/types.go View File

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


Loading…
Cancel
Save