Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractProof ¶
func ExtractProof(b []byte) (delegation.Delegation, error)
ExtractProof is a temporary helper to extract a proof from a proof archive with fallback to extracting from the legacy encoding.
It will first attempt to extract using `delegation.Extract` from `go-ucanto/core/delegation` and falls back to decoding by reading a plain CAR file, assuming the last block is the delegation root.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.