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)
Click to show internal directories.
Click to hide internal directories.