Documentation ¶
Index ¶
- Variables
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)deprecated
- func (x *Metadata) GetBeaconID() string
- func (x *Metadata) GetChainHash() []byte
- func (x *Metadata) GetNodeVersion() *NodeVersion
- func (*Metadata) ProtoMessage()
- func (x *Metadata) ProtoReflect() protoreflect.Message
- func (x *Metadata) Reset()
- func (x *Metadata) String() string
- type NodeVersion
- func (*NodeVersion) Descriptor() ([]byte, []int)deprecated
- func (x *NodeVersion) GetMajor() uint32
- func (x *NodeVersion) GetMinor() uint32
- func (x *NodeVersion) GetPatch() uint32
- func (x *NodeVersion) GetPrerelease() string
- func (*NodeVersion) ProtoMessage()
- func (x *NodeVersion) ProtoReflect() protoreflect.Message
- func (x *NodeVersion) Reset()
- func (x *NodeVersion) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_common_common_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Metadata ¶
type Metadata struct { NodeVersion *NodeVersion `protobuf:"bytes,1,opt,name=node_version,json=nodeVersion,proto3" json:"node_version,omitempty"` BeaconID string `protobuf:"bytes,2,opt,name=beaconID,proto3" json:"beaconID,omitempty"` ChainHash []byte `protobuf:"bytes,3,opt,name=chain_hash,json=chainHash,proto3" json:"chain_hash,omitempty"` // contains filtered or unexported fields }
func NewMetadata ¶
func NewMetadata(version *NodeVersion) *Metadata
func (*Metadata) Descriptor
deprecated
func (*Metadata) GetBeaconID ¶
func (*Metadata) GetChainHash ¶
func (*Metadata) GetNodeVersion ¶
func (x *Metadata) GetNodeVersion() *NodeVersion
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) ProtoReflect ¶
func (x *Metadata) ProtoReflect() protoreflect.Message
type NodeVersion ¶
type NodeVersion struct { Major uint32 `protobuf:"varint,1,opt,name=major,proto3" json:"major,omitempty"` Minor uint32 `protobuf:"varint,2,opt,name=minor,proto3" json:"minor,omitempty"` Patch uint32 `protobuf:"varint,3,opt,name=patch,proto3" json:"patch,omitempty"` Prerelease *string `protobuf:"bytes,4,opt,name=prerelease,proto3,oneof" json:"prerelease,omitempty"` // contains filtered or unexported fields }
func (*NodeVersion) Descriptor
deprecated
func (*NodeVersion) Descriptor() ([]byte, []int)
Deprecated: Use NodeVersion.ProtoReflect.Descriptor instead.
func (*NodeVersion) GetMajor ¶
func (x *NodeVersion) GetMajor() uint32
func (*NodeVersion) GetMinor ¶
func (x *NodeVersion) GetMinor() uint32
func (*NodeVersion) GetPatch ¶
func (x *NodeVersion) GetPatch() uint32
func (*NodeVersion) GetPrerelease ¶
func (x *NodeVersion) GetPrerelease() string
func (*NodeVersion) ProtoMessage ¶
func (*NodeVersion) ProtoMessage()
func (*NodeVersion) ProtoReflect ¶
func (x *NodeVersion) ProtoReflect() protoreflect.Message
func (*NodeVersion) Reset ¶
func (x *NodeVersion) Reset()
func (*NodeVersion) String ¶
func (x *NodeVersion) String() string
Click to show internal directories.
Click to hide internal directories.