Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DocMsgCreateValidator ¶
type DocMsgCreateValidator struct { Name string `bson:"name"` Certificate string `bson:"certificate"` Power int64 `bson:"power"` Description string `bson:"description"` Operator string `bson:"operator"` }
func (*DocMsgCreateValidator) BuildMsg ¶
func (m *DocMsgCreateValidator) BuildMsg(v interface{})
func (*DocMsgCreateValidator) GetType ¶
func (m *DocMsgCreateValidator) GetType() string
func (*DocMsgCreateValidator) HandleTxMsg ¶
func (m *DocMsgCreateValidator) HandleTxMsg(v SdkMsg) MsgDocInfo
type DocMsgGrantNode ¶
type DocMsgGrantNode struct { Name string `bson:"name"` Certificate string `bson:"certificate"` Operator string `bson:"operator"` }
func (*DocMsgGrantNode) BuildMsg ¶
func (m *DocMsgGrantNode) BuildMsg(v interface{})
func (*DocMsgGrantNode) GetType ¶
func (m *DocMsgGrantNode) GetType() string
func (*DocMsgGrantNode) HandleTxMsg ¶
func (m *DocMsgGrantNode) HandleTxMsg(v SdkMsg) MsgDocInfo
type DocMsgRemoveValidator ¶
func (*DocMsgRemoveValidator) BuildMsg ¶
func (m *DocMsgRemoveValidator) BuildMsg(v interface{})
func (*DocMsgRemoveValidator) GetType ¶
func (m *DocMsgRemoveValidator) GetType() string
func (*DocMsgRemoveValidator) HandleTxMsg ¶
func (m *DocMsgRemoveValidator) HandleTxMsg(v SdkMsg) MsgDocInfo
type DocMsgRevokeNode ¶
func (*DocMsgRevokeNode) BuildMsg ¶
func (m *DocMsgRevokeNode) BuildMsg(v interface{})
func (*DocMsgRevokeNode) GetType ¶
func (m *DocMsgRevokeNode) GetType() string
func (*DocMsgRevokeNode) HandleTxMsg ¶
func (m *DocMsgRevokeNode) HandleTxMsg(v SdkMsg) MsgDocInfo
type DocMsgUpdateValidator ¶
type DocMsgUpdateValidator struct { Id string `bson:"id"` Name string `bson:"name"` Certificate string `bson:"certificate"` Power int64 `bson:"power"` Description string `bson:"description"` Operator string `bson:"operator"` }
func (*DocMsgUpdateValidator) BuildMsg ¶
func (m *DocMsgUpdateValidator) BuildMsg(v interface{})
func (*DocMsgUpdateValidator) GetType ¶
func (m *DocMsgUpdateValidator) GetType() string
func (*DocMsgUpdateValidator) HandleTxMsg ¶
func (m *DocMsgUpdateValidator) HandleTxMsg(v SdkMsg) MsgDocInfo
type NodeClient ¶
type NodeClient struct { }
func NewClient ¶
func NewClient() NodeClient
func (NodeClient) HandleTxMsg ¶
func (nft NodeClient) HandleTxMsg(v types.Msg) (MsgDocInfo, bool)
Click to show internal directories.
Click to hide internal directories.