Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestArgs ¶
type TestArgs struct {
ID did.DID `cborgen:"id"`
Link cid.Cid `cborgen:"link"`
Str string `cborgen:"str"`
Num int64 `cborgen:"num"`
Bytes []byte `cborgen:"bytes"`
Obj TestObject `cborgen:"obj"`
Obj2 TestObject2 `cborgen:"obj2"`
List []string `cborgen:"list"`
}
type TestObject ¶
type TestObject struct {
Bytes []byte `cborgen:"bytes"`
}
func (*TestObject) MarshalCBOR ¶
func (t *TestObject) MarshalCBOR(w io.Writer) error
func (*TestObject) UnmarshalCBOR ¶
func (t *TestObject) UnmarshalCBOR(r io.Reader) (err error)
type TestObject2 ¶
func (*TestObject2) MarshalCBOR ¶
func (t *TestObject2) MarshalCBOR(w io.Writer) error
func (*TestObject2) UnmarshalCBOR ¶
func (t *TestObject2) UnmarshalCBOR(r io.Reader) (err error)
Click to show internal directories.
Click to hide internal directories.