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: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PutArgumentsModel

type PutArgumentsModel struct {
	Body blob.Blob `cborgen:"body" dagjsongen:"body"`
	// Destination is the promise that resolves to the upload destination
	// where the blob should be PUT to. It is the result of a /blob/allocate task.
	Destination promise.AwaitOK `cborgen:"destination" dagjsongen:"destination"`
}

func (*PutArgumentsModel) MarshalCBOR

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

func (*PutArgumentsModel) MarshalDagJSON

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

func (*PutArgumentsModel) UnmarshalCBOR

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

func (*PutArgumentsModel) UnmarshalDagJSON

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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