ipld

package
v0.0.0-...-8bebe15 Latest Latest
Warning

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

Go to latest
Published: May 14, 2026 License: Apache-2.0, MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Any

type Any = any

Any is an alias for any/interface{}, however it denotes that the type MUST be an IPLD type. i.e. one of:

  • Null (nil)
  • Boolean (bool)
  • Integer (int64, int)
  • String (string)
  • Bytes ([]byte)
  • List (slice)
  • Map (Map)
  • Link (cid.Cid)

type Block

type Block interface {
	Link() cid.Cid
	Bytes() []byte
}

Block is content addressed and encoded IPLD data.

type Map

type Map = map[string]Any

Directories

Path Synopsis
codec
dagcbor
Package dagcbor exposes the multicodec identity and HTTP content-type for DAG-CBOR.
Package dagcbor exposes the multicodec identity and HTTP content-type for DAG-CBOR.
dagjson
Package dagjson exposes the multicodec identity and HTTP content-type for DAG-JSON.
Package dagjson exposes the multicodec identity and HTTP content-type for DAG-JSON.

Jump to

Keyboard shortcuts

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