Documentation ¶
Index ¶
- func LabelFieldDefMarshall(f *market.DealLabel) (interface{}, error)
- func LabelFieldDefUnmarshall(marshalled sql.NullString) (*market.DealLabel, error)
- type AddrFieldDef
- type BigIntFieldDef
- type CidFieldDef
- type CidPtrFieldDef
- type CkptFieldDef
- type FieldDef
- type FieldDefinition
- type LabelFieldDef
- type PeerIDFieldDef
- type SigFieldDef
- type SignedPropFieldDef
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LabelFieldDefMarshall ¶
func LabelFieldDefUnmarshall ¶
func LabelFieldDefUnmarshall(marshalled sql.NullString) (*market.DealLabel, error)
Types ¶
type AddrFieldDef ¶
type AddrFieldDef struct { Marshalled string F *address.Address }
func (*AddrFieldDef) FieldPtr ¶
func (fd *AddrFieldDef) FieldPtr() interface{}
func (*AddrFieldDef) Marshall ¶
func (fd *AddrFieldDef) Marshall() (interface{}, error)
func (*AddrFieldDef) Unmarshall ¶
func (fd *AddrFieldDef) Unmarshall() error
type BigIntFieldDef ¶
type BigIntFieldDef struct { Marshalled sql.NullString F *big.Int }
func (*BigIntFieldDef) FieldPtr ¶
func (fd *BigIntFieldDef) FieldPtr() interface{}
func (*BigIntFieldDef) Marshall ¶
func (fd *BigIntFieldDef) Marshall() (interface{}, error)
func (*BigIntFieldDef) Unmarshall ¶
func (fd *BigIntFieldDef) Unmarshall() error
type CidFieldDef ¶
type CidFieldDef struct { F *cid.Cid // contains filtered or unexported fields }
func (*CidFieldDef) FieldPtr ¶
func (fd *CidFieldDef) FieldPtr() interface{}
func (*CidFieldDef) Marshall ¶
func (fd *CidFieldDef) Marshall() (interface{}, error)
func (*CidFieldDef) Unmarshall ¶
func (fd *CidFieldDef) Unmarshall() error
type CidPtrFieldDef ¶
type CidPtrFieldDef struct { F **cid.Cid // contains filtered or unexported fields }
func (*CidPtrFieldDef) FieldPtr ¶
func (fd *CidPtrFieldDef) FieldPtr() interface{}
func (*CidPtrFieldDef) Marshall ¶
func (fd *CidPtrFieldDef) Marshall() (interface{}, error)
func (*CidPtrFieldDef) Unmarshall ¶
func (fd *CidPtrFieldDef) Unmarshall() error
type CkptFieldDef ¶
type CkptFieldDef struct { Marshalled string F *dealcheckpoints.Checkpoint }
func (*CkptFieldDef) FieldPtr ¶
func (fd *CkptFieldDef) FieldPtr() interface{}
func (*CkptFieldDef) Marshall ¶
func (fd *CkptFieldDef) Marshall() (interface{}, error)
func (*CkptFieldDef) Unmarshall ¶
func (fd *CkptFieldDef) Unmarshall() error
type FieldDefinition ¶
type LabelFieldDef ¶
type LabelFieldDef struct { Marshalled sql.NullString F *market.DealLabel }
func (*LabelFieldDef) FieldPtr ¶
func (fd *LabelFieldDef) FieldPtr() interface{}
func (*LabelFieldDef) Marshall ¶
func (fd *LabelFieldDef) Marshall() (interface{}, error)
func (*LabelFieldDef) Unmarshall ¶
func (fd *LabelFieldDef) Unmarshall() error
type PeerIDFieldDef ¶
type PeerIDFieldDef struct { Marshalled sql.NullString F *peer.ID }
func (*PeerIDFieldDef) FieldPtr ¶
func (fd *PeerIDFieldDef) FieldPtr() interface{}
func (*PeerIDFieldDef) Marshall ¶
func (fd *PeerIDFieldDef) Marshall() (interface{}, error)
func (*PeerIDFieldDef) Unmarshall ¶
func (fd *PeerIDFieldDef) Unmarshall() error
type SigFieldDef ¶
func (*SigFieldDef) FieldPtr ¶
func (fd *SigFieldDef) FieldPtr() interface{}
func (*SigFieldDef) Marshall ¶
func (fd *SigFieldDef) Marshall() (interface{}, error)
func (*SigFieldDef) Unmarshall ¶
func (fd *SigFieldDef) Unmarshall() error
type SignedPropFieldDef ¶
type SignedPropFieldDef struct { Marshalled string F *cid.Cid Prop market.ClientDealProposal }
func (*SignedPropFieldDef) FieldPtr ¶
func (fd *SignedPropFieldDef) FieldPtr() interface{}
func (*SignedPropFieldDef) Marshall ¶
func (fd *SignedPropFieldDef) Marshall() (interface{}, error)
func (*SignedPropFieldDef) Unmarshall ¶
func (fd *SignedPropFieldDef) Unmarshall() error
Click to show internal directories.
Click to hide internal directories.