cells

package
v0.0.0-...-081e9e3 Latest Latest
Warning

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

Go to latest
Published: May 15, 2021 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply

func Apply(ctx context.Context, cell Cell, fn func([]byte) ([]byte, error)) error

Types

type Cell

type Cell = p2p.Cell

func NewBoltCell

func NewBoltCell(db *bolt.DB, path []string) Cell

func NewMem

func NewMem() Cell

func NewSecretBox

func NewSecretBox(inner Cell, secret []byte) Cell

func NewSigned

func NewSigned(inner Cell, purpose string, publicKey p2p.PublicKey, privateKey p2p.PrivateKey) Cell

type SecretBoxCell

type SecretBoxCell = cryptocell.SecretBoxCell

type Signed

type Signed = cryptocell.Signed

Jump to

Keyboard shortcuts

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