adl

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: MIT Imports: 1 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ADL

type ADL interface {
	datamodel.Node

	// Substrate returns the underlying Data Model node, which can be used
	// to encode an ADL's raw layout.
	//
	// Note that the substrate of an ADL can contain other ADLs!
	Substrate() datamodel.Node
}

ADL is an interface denoting an Advanced Data Layout, which is something that supports all the datamodel.Node operations, but may be doing so using some custom internal logic.

For more details, see the docs at https://ipld.io/docs/advanced-data-layouts/ .

This interface doesn't specify much new behavior, but it does include the requirement of a way to tell an examiner about your "substrate", since this concept does seem to be present in all ADLs.

Directories

Path Synopsis
rot13adl is a demo ADL -- its purpose is to show what an ADL and its public interface can look like.
rot13adl is a demo ADL -- its purpose is to show what an ADL and its public interface can look like.

Jump to

Keyboard shortcuts

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