datamodel

package
v0.0.0-...-935195a Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlobModel

type BlobModel struct {
	Digest multihash.Multihash `cborgen:"digest" dagjsongen:"digest"`
}

func (*BlobModel) MarshalCBOR

func (t *BlobModel) MarshalCBOR(w io.Writer) error

func (*BlobModel) MarshalDagJSON

func (t *BlobModel) MarshalDagJSON(w io.Writer) error

func (*BlobModel) UnmarshalCBOR

func (t *BlobModel) UnmarshalCBOR(r io.Reader) (err error)

func (*BlobModel) UnmarshalDagJSON

func (t *BlobModel) UnmarshalDagJSON(r io.Reader) (err error)

type RangeModel

type RangeModel struct {
	Start uint64 `cborgen:"start" dagjsongen:"start"`
	End   uint64 `cborgen:"end" dagjsongen:"end"`
}

func (*RangeModel) MarshalCBOR

func (t *RangeModel) MarshalCBOR(w io.Writer) error

func (*RangeModel) MarshalDagJSON

func (t *RangeModel) MarshalDagJSON(w io.Writer) error

func (*RangeModel) UnmarshalCBOR

func (t *RangeModel) UnmarshalCBOR(r io.Reader) (err error)

func (*RangeModel) UnmarshalDagJSON

func (t *RangeModel) UnmarshalDagJSON(r io.Reader) (err error)

type RetrieveArgumentsModel

type RetrieveArgumentsModel struct {
	Blob  BlobModel  `cborgen:"blob" dagjsongen:"blob"`
	Range RangeModel `cborgen:"range" dagjsongen:"range"`
}

func (*RetrieveArgumentsModel) MarshalCBOR

func (t *RetrieveArgumentsModel) MarshalCBOR(w io.Writer) error

func (*RetrieveArgumentsModel) MarshalDagJSON

func (t *RetrieveArgumentsModel) MarshalDagJSON(w io.Writer) error

func (*RetrieveArgumentsModel) UnmarshalCBOR

func (t *RetrieveArgumentsModel) UnmarshalCBOR(r io.Reader) (err error)

func (*RetrieveArgumentsModel) UnmarshalDagJSON

func (t *RetrieveArgumentsModel) UnmarshalDagJSON(r io.Reader) (err error)

type RetrieveOKModel

type RetrieveOKModel struct{}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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