Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Database ¶
type Database interface {
Get(ctx context.Context, key string) (yopass.Secret, error)
Put(ctx context.Context, key string, secret yopass.Secret) error
Delete(ctx context.Context, key string) error
}
Database interface
func NewMemcached ¶
NewMemcached returns a new memcached database client
type Memcached ¶
Memcached client
type Redis ¶
type Redis struct {
// contains filtered or unexported fields
}
Redis client
Click to show internal directories.
Click to hide internal directories.