util

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2023 License: Apache-2.0, MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeCid

func MakeCid(i interface{}) (cid.Cid, error)

Types

type ReadOnlyIpldStore

type ReadOnlyIpldStore struct {
	cbor.IpldStore
}

ReadOnlyIpldStore is a store that rejects writes.

func (*ReadOnlyIpldStore) Put

func (s *ReadOnlyIpldStore) Put(ctx context.Context, v interface{}) (cid.Cid, error)

Put returns an error.

Jump to

Keyboard shortcuts

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