node

package
v0.0.0-...-ec6187d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 22, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

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

type DocMsgRemoveValidator struct {
	Id       string `bson:"id"`
	Operator string `bson:"operator"`
}

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

type DocMsgRevokeNode struct {
	Id       string `bson:"id"`
	Operator string `bson:"operator"`
}

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL