package mock

import "github.com/sagikazarmark/crypt/backend/mock"

Index

Types

type Client

type Client struct{}

func New

func New(machines []string) (*Client, error)

func (*Client) Get

func (c *Client) Get(key string) ([]byte, error)

func (*Client) List

func (c *Client) List(key string) (backend.KVPairs, error)

func (*Client) Set

func (c *Client) Set(key string, value []byte) error

func (*Client) Watch

func (c *Client) Watch(key string, stop chan bool) <-chan *backend.Response

Source Files

mock.go

Version
v0.6.0
Published
May 26, 2022
Platform
linux/amd64
Imports
6 packages
Last checked
1 hour ago

Tools for package owners.