untrusted

package
Version: v0.0.0-...-810cf82 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2019 License: MIT Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Convergent

type Convergent struct {
	// contains filtered or unexported fields
}

func New

func New(store kv.KV, secret *[32]byte) *Convergent

func (*Convergent) Get

func (s *Convergent) Get(ctx context.Context, key []byte) ([]byte, error)

func (*Convergent) Put

func (s *Convergent) Put(ctx context.Context, key []byte, value []byte) error

type CorruptError

type CorruptError struct {
	Key []byte
}

func (CorruptError) Error

func (c CorruptError) Error() string

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL