Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DocMsgCreateBlockHeader ¶
type DocMsgCreateBlockHeader struct { SpaceId uint64 `bson:"space_id"` Height uint64 `bson:"height"` Header string `bson:"header"` Sender string `bson:"sender"` }
func (*DocMsgCreateBlockHeader) BuildMsg ¶
func (m *DocMsgCreateBlockHeader) BuildMsg(v interface{})
func (*DocMsgCreateBlockHeader) GetType ¶
func (m *DocMsgCreateBlockHeader) GetType() string
func (*DocMsgCreateBlockHeader) HandleTxMsg ¶
func (m *DocMsgCreateBlockHeader) HandleTxMsg(v SdkMsg) MsgDocInfo
type DocMsgCreateSpace ¶
type DocMsgCreateSpace struct { Name string `bson:"name"` Uri string `bson:"uri"` Sender string `bson:"sender"` }
func (*DocMsgCreateSpace) BuildMsg ¶
func (m *DocMsgCreateSpace) BuildMsg(v interface{})
func (*DocMsgCreateSpace) GetType ¶
func (m *DocMsgCreateSpace) GetType() string
func (*DocMsgCreateSpace) HandleTxMsg ¶
func (m *DocMsgCreateSpace) HandleTxMsg(v SdkMsg) MsgDocInfo
type DocMsgTransferSpace ¶
type DocMsgTransferSpace struct { SpaceId uint64 `bson:"space_id"` Recipient string `bson:"recipient"` Sender string `bson:"sender"` }
func (*DocMsgTransferSpace) BuildMsg ¶
func (m *DocMsgTransferSpace) BuildMsg(v interface{})
func (*DocMsgTransferSpace) GetType ¶
func (m *DocMsgTransferSpace) GetType() string
func (*DocMsgTransferSpace) HandleTxMsg ¶
func (m *DocMsgTransferSpace) HandleTxMsg(v SdkMsg) MsgDocInfo
type SideChainClient ¶
type SideChainClient struct { }
func NewClient ¶
func NewClient() SideChainClient
func (SideChainClient) HandleTxMsg ¶
func (nft SideChainClient) HandleTxMsg(v types.Msg) (MsgDocInfo, bool)
Click to show internal directories.
Click to hide internal directories.