Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Put = binding.Bind[*PutArguments, *PutOK](command.MustParse("/http/put"))
Functions ¶
This section is empty.
Types ¶
type PutArguments ¶
type PutArguments 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 (*PutArguments) MarshalCBOR ¶
func (t *PutArguments) MarshalCBOR(w io.Writer) error
func (*PutArguments) MarshalDagJSON ¶
func (t *PutArguments) MarshalDagJSON(w io.Writer) error
func (*PutArguments) UnmarshalCBOR ¶
func (t *PutArguments) UnmarshalCBOR(r io.Reader) (err error)
func (*PutArguments) UnmarshalDagJSON ¶
func (t *PutArguments) UnmarshalDagJSON(r io.Reader) (err error)
Click to show internal directories.
Click to hide internal directories.