secretDao

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(userID, key string, EntryID uuid.UUID, secret *dao.Secret) (
	secretResult *dao.SecretResult, err error)

Create ...

func Delete added in v0.2.0

func Delete(userID string, EntryID, SecretID uuid.UUID) error

Delete ...

func Find added in v0.2.0

func Find(key string, SecretID uuid.UUID) (secret *dao.Secret, err error)

Find ...

func FindSecrets

func FindSecrets(key string, ids ...string) (secrets []*dao.SecretResult, err error)

FindSecrets ...

func Update

func Update(userID, key string, EntryID, SecretID uuid.UUID, changes map[string]interface{}) (
	secretResult *dao.SecretResult, err error)

Update ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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