cells

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2022 License: GPL-3.0 Imports: 5 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

func GetBytes

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

func NewMem

func NewMem() cells.Cell

Types

type Cell

type Cell = cells.Cell

func NewEncrypted

func NewEncrypted(inner cells.Cell, secret []byte) Cell

func NewSigned

func NewSigned(inner cells.Cell, pubKey p2p.PublicKey, privKey p2p.PrivateKey) Cell

type ErrTooLarge added in v0.0.3

type ErrTooLarge = cells.ErrTooLarge

Jump to

Keyboard shortcuts

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