commands

package
v0.0.0-...-0f7fa19 Latest Latest
Warning

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

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

Documentation

Overview

Package commands defines UCAN commands used across the forge stack. Each operation lives in a subpackage (e.g. blob, upload, pdp); this top-level package holds shared wire types and helpers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CborURL

type CborURL url.URL

func (CborURL) MarshalCBOR

func (cu CborURL) MarshalCBOR(w io.Writer) error

func (CborURL) MarshalDagJSON

func (cu CborURL) MarshalDagJSON(w io.Writer) error

func (CborURL) MarshalJSON

func (cu CborURL) MarshalJSON() ([]byte, error)

func (CborURL) URL

func (cu CborURL) URL() *url.URL

func (*CborURL) UnmarshalCBOR

func (cu *CborURL) UnmarshalCBOR(r io.Reader) error

func (*CborURL) UnmarshalDagJSON

func (cu *CborURL) UnmarshalDagJSON(r io.Reader) error

func (*CborURL) UnmarshalJSON

func (cu *CborURL) UnmarshalJSON(b []byte) error

type Unit

type Unit struct{}

Unit is the empty wire type returned by any capability whose receipt carries no payload (e.g. /upload/remove, /claim/cache). It encodes as an empty CBOR map / dag-json object.

func (*Unit) MarshalCBOR

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

func (*Unit) MarshalDagJSON

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

func (*Unit) UnmarshalCBOR

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

func (*Unit) UnmarshalDagJSON

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

Directories

Path Synopsis
gen command
gen command
gen command
replica/gen command
gen command
gen command
gen command
gen command
gen command
pdp
gen command
sign
Package sign exposes the four /pdp/sign/* UCAN capabilities used by piri to drive an eip712 signing service:
Package sign exposes the four /pdp/sign/* UCAN capabilities used by piri to drive an eip712 signing service:
sign/gen command
gen command
egress/gen command
gen command
attest/gen command
gen command
gen command
shard/gen command

Jump to

Keyboard shortcuts

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