Documentation ¶
Overview ¶
Package test is a generated protocol buffer package.
It is generated from these files:
test.proto
It has these top-level messages:
ResultStatus NodeInfo ID PubKey PubKeyEd25519
Index ¶
- Variables
- type ID
- func (*ID) Descriptor() ([]byte, []int)
- func (m *ID) GetId() string
- func (m *ID) Marshal() (dAtA []byte, err error)
- func (m *ID) MarshalTo(dAtA []byte) (int, error)
- func (*ID) ProtoMessage()
- func (m *ID) Reset()
- func (m *ID) Size() (n int)
- func (m *ID) String() string
- func (m *ID) Unmarshal(dAtA []byte) error
- type NodeInfo
- func (*NodeInfo) Descriptor() ([]byte, []int)
- func (m *NodeInfo) GetId() *ID
- func (m *NodeInfo) GetListenAddr() string
- func (m *NodeInfo) GetMoniker() string
- func (m *NodeInfo) GetNetwork() string
- func (m *NodeInfo) GetOther() []string
- func (m *NodeInfo) GetRemoteAddr() string
- func (m *NodeInfo) GetVersion() string
- func (m *NodeInfo) Marshal() (dAtA []byte, err error)
- func (m *NodeInfo) MarshalTo(dAtA []byte) (int, error)
- func (*NodeInfo) ProtoMessage()
- func (m *NodeInfo) Reset()
- func (m *NodeInfo) Size() (n int)
- func (m *NodeInfo) String() string
- func (m *NodeInfo) Unmarshal(dAtA []byte) error
- type PubKey
- func (*PubKey) Descriptor() ([]byte, []int)
- func (m *PubKey) GetEd25519() *PubKeyEd25519
- func (m *PubKey) Marshal() (dAtA []byte, err error)
- func (m *PubKey) MarshalTo(dAtA []byte) (int, error)
- func (*PubKey) ProtoMessage()
- func (m *PubKey) Reset()
- func (m *PubKey) Size() (n int)
- func (m *PubKey) String() string
- func (m *PubKey) Unmarshal(dAtA []byte) error
- type PubKeyEd25519
- func (*PubKeyEd25519) Descriptor() ([]byte, []int)
- func (m *PubKeyEd25519) GetBytes() []byte
- func (m *PubKeyEd25519) Marshal() (dAtA []byte, err error)
- func (m *PubKeyEd25519) MarshalTo(dAtA []byte) (int, error)
- func (*PubKeyEd25519) ProtoMessage()
- func (m *PubKeyEd25519) Reset()
- func (m *PubKeyEd25519) Size() (n int)
- func (m *PubKeyEd25519) String() string
- func (m *PubKeyEd25519) Unmarshal(dAtA []byte) error
- type ResultStatus
- func (*ResultStatus) Descriptor() ([]byte, []int)
- func (m *ResultStatus) GetLatestBlockHash() []byte
- func (m *ResultStatus) GetLatestBlockHeight() int64
- func (m *ResultStatus) GetLatestBlocktime() int64
- func (m *ResultStatus) GetNodeInfo() *NodeInfo
- func (m *ResultStatus) GetPubKey() *PubKey
- func (m *ResultStatus) Marshal() (dAtA []byte, err error)
- func (m *ResultStatus) MarshalTo(dAtA []byte) (int, error)
- func (*ResultStatus) ProtoMessage()
- func (m *ResultStatus) Reset()
- func (m *ResultStatus) Size() (n int)
- func (m *ResultStatus) String() string
- func (m *ResultStatus) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthTest = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTest = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type ID ¶ added in v0.19.5
type ID struct { Id *string `protobuf:"bytes,1,req,name=id" json:"id,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ID) Descriptor ¶ added in v0.19.5
func (*ID) ProtoMessage ¶ added in v0.19.5
func (*ID) ProtoMessage()
type NodeInfo ¶
type NodeInfo struct { Id *ID `protobuf:"bytes,1,req,name=id" json:"id,omitempty"` Moniker *string `protobuf:"bytes,2,req,name=moniker" json:"moniker,omitempty"` Network *string `protobuf:"bytes,3,req,name=network" json:"network,omitempty"` RemoteAddr *string `protobuf:"bytes,4,req,name=remoteAddr" json:"remoteAddr,omitempty"` ListenAddr *string `protobuf:"bytes,5,req,name=listenAddr" json:"listenAddr,omitempty"` Version *string `protobuf:"bytes,6,req,name=version" json:"version,omitempty"` Other []string `protobuf:"bytes,7,rep,name=other" json:"other,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*NodeInfo) Descriptor ¶ added in v0.19.5
func (*NodeInfo) GetListenAddr ¶
func (*NodeInfo) GetMoniker ¶
func (*NodeInfo) GetNetwork ¶
func (*NodeInfo) GetRemoteAddr ¶
func (*NodeInfo) GetVersion ¶
func (*NodeInfo) ProtoMessage ¶
func (*NodeInfo) ProtoMessage()
type PubKey ¶
type PubKey struct { Ed25519 *PubKeyEd25519 `protobuf:"bytes,1,opt,name=ed25519" json:"ed25519,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*PubKey) Descriptor ¶ added in v0.19.5
func (*PubKey) GetEd25519 ¶
func (m *PubKey) GetEd25519() *PubKeyEd25519
func (*PubKey) ProtoMessage ¶
func (*PubKey) ProtoMessage()
type PubKeyEd25519 ¶
type PubKeyEd25519 struct { Bytes []byte `protobuf:"bytes,1,req,name=bytes" json:"bytes,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*PubKeyEd25519) Descriptor ¶ added in v0.19.5
func (*PubKeyEd25519) Descriptor() ([]byte, []int)
func (*PubKeyEd25519) GetBytes ¶
func (m *PubKeyEd25519) GetBytes() []byte
func (*PubKeyEd25519) Marshal ¶
func (m *PubKeyEd25519) Marshal() (dAtA []byte, err error)
func (*PubKeyEd25519) ProtoMessage ¶
func (*PubKeyEd25519) ProtoMessage()
func (*PubKeyEd25519) Reset ¶
func (m *PubKeyEd25519) Reset()
func (*PubKeyEd25519) Size ¶
func (m *PubKeyEd25519) Size() (n int)
func (*PubKeyEd25519) String ¶
func (m *PubKeyEd25519) String() string
func (*PubKeyEd25519) Unmarshal ¶
func (m *PubKeyEd25519) Unmarshal(dAtA []byte) error
type ResultStatus ¶
type ResultStatus struct { NodeInfo *NodeInfo `protobuf:"bytes,1,opt,name=nodeInfo" json:"nodeInfo,omitempty"` PubKey *PubKey `protobuf:"bytes,2,req,name=pubKey" json:"pubKey,omitempty"` LatestBlockHash []byte `protobuf:"bytes,3,req,name=latestBlockHash" json:"latestBlockHash,omitempty"` LatestBlockHeight *int64 `protobuf:"varint,4,req,name=latestBlockHeight" json:"latestBlockHeight,omitempty"` LatestBlocktime *int64 `protobuf:"varint,5,req,name=latestBlocktime" json:"latestBlocktime,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ResultStatus) Descriptor ¶ added in v0.19.5
func (*ResultStatus) Descriptor() ([]byte, []int)
func (*ResultStatus) GetLatestBlockHash ¶
func (m *ResultStatus) GetLatestBlockHash() []byte
func (*ResultStatus) GetLatestBlockHeight ¶
func (m *ResultStatus) GetLatestBlockHeight() int64
func (*ResultStatus) GetLatestBlocktime ¶
func (m *ResultStatus) GetLatestBlocktime() int64
func (*ResultStatus) GetNodeInfo ¶
func (m *ResultStatus) GetNodeInfo() *NodeInfo
func (*ResultStatus) GetPubKey ¶
func (m *ResultStatus) GetPubKey() *PubKey
func (*ResultStatus) Marshal ¶
func (m *ResultStatus) Marshal() (dAtA []byte, err error)
func (*ResultStatus) ProtoMessage ¶
func (*ResultStatus) ProtoMessage()
func (*ResultStatus) Reset ¶
func (m *ResultStatus) Reset()
func (*ResultStatus) Size ¶
func (m *ResultStatus) Size() (n int)
func (*ResultStatus) String ¶
func (m *ResultStatus) String() string
func (*ResultStatus) Unmarshal ¶
func (m *ResultStatus) Unmarshal(dAtA []byte) error
Click to show internal directories.
Click to hide internal directories.