Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddArgumentsModel ¶
type AddArgumentsModel struct {
Root cid.Cid `cborgen:"root" dagjsongen:"root"`
Shards []cid.Cid `cborgen:"shards" dagjsongen:"shards"`
Index *cid.Cid `cborgen:"index,omitempty" dagjsongen:"index,omitempty"`
}
func (*AddArgumentsModel) MarshalCBOR ¶
func (t *AddArgumentsModel) MarshalCBOR(w io.Writer) error
func (*AddArgumentsModel) MarshalDagJSON ¶
func (t *AddArgumentsModel) MarshalDagJSON(w io.Writer) error
func (*AddArgumentsModel) UnmarshalCBOR ¶
func (t *AddArgumentsModel) UnmarshalCBOR(r io.Reader) (err error)
func (*AddArgumentsModel) UnmarshalDagJSON ¶
func (t *AddArgumentsModel) UnmarshalDagJSON(r io.Reader) (err error)
type ListArgumentsModel ¶
type ListArgumentsModel struct {
Cursor *string `cborgen:"cursor,omitempty" dagjsongen:"cursor,omitempty"`
Size *uint64 `cborgen:"size,omitempty" dagjsongen:"size,omitempty"`
}
func (*ListArgumentsModel) MarshalCBOR ¶
func (t *ListArgumentsModel) MarshalCBOR(w io.Writer) error
func (*ListArgumentsModel) MarshalDagJSON ¶
func (t *ListArgumentsModel) MarshalDagJSON(w io.Writer) error
func (*ListArgumentsModel) UnmarshalCBOR ¶
func (t *ListArgumentsModel) UnmarshalCBOR(r io.Reader) (err error)
func (*ListArgumentsModel) UnmarshalDagJSON ¶
func (t *ListArgumentsModel) UnmarshalDagJSON(r io.Reader) (err error)
type ListOKModel ¶
type ListOKModel struct {
Cursor *string `cborgen:"cursor,omitempty" dagjsongen:"cursor,omitempty"`
Size uint64 `cborgen:"size" dagjsongen:"size"`
Results []ListUploadItem `cborgen:"results" dagjsongen:"results"`
}
func (*ListOKModel) MarshalCBOR ¶
func (t *ListOKModel) MarshalCBOR(w io.Writer) error
func (*ListOKModel) MarshalDagJSON ¶
func (t *ListOKModel) MarshalDagJSON(w io.Writer) error
func (*ListOKModel) UnmarshalCBOR ¶
func (t *ListOKModel) UnmarshalCBOR(r io.Reader) (err error)
func (*ListOKModel) UnmarshalDagJSON ¶
func (t *ListOKModel) UnmarshalDagJSON(r io.Reader) (err error)
type ListUploadItem ¶
type ListUploadItem struct {
Root cid.Cid `cborgen:"root" dagjsongen:"root"`
Index *cid.Cid `cborgen:"index,omitempty" dagjsongen:"index,omitempty"`
}
func (*ListUploadItem) MarshalCBOR ¶
func (t *ListUploadItem) MarshalCBOR(w io.Writer) error
func (*ListUploadItem) MarshalDagJSON ¶
func (t *ListUploadItem) MarshalDagJSON(w io.Writer) error
func (*ListUploadItem) UnmarshalCBOR ¶
func (t *ListUploadItem) UnmarshalCBOR(r io.Reader) (err error)
func (*ListUploadItem) UnmarshalDagJSON ¶
func (t *ListUploadItem) UnmarshalDagJSON(r io.Reader) (err error)
type RemoveArgumentsModel ¶
func (*RemoveArgumentsModel) MarshalCBOR ¶
func (t *RemoveArgumentsModel) MarshalCBOR(w io.Writer) error
func (*RemoveArgumentsModel) MarshalDagJSON ¶
func (t *RemoveArgumentsModel) MarshalDagJSON(w io.Writer) error
func (*RemoveArgumentsModel) UnmarshalCBOR ¶
func (t *RemoveArgumentsModel) UnmarshalCBOR(r io.Reader) (err error)
func (*RemoveArgumentsModel) UnmarshalDagJSON ¶
func (t *RemoveArgumentsModel) UnmarshalDagJSON(r io.Reader) (err error)
type RemoveOKModel ¶
type RemoveOKModel struct{}
Click to show internal directories.
Click to hide internal directories.