Documentation ¶
Index ¶
- Variables
- func MustMarshal(msg proto.Message) []byte
- func MustUnmarshal(b []byte, m proto.Message)
- type Vote
- func (*Vote) Descriptor() ([]byte, []int)deprecated
- func (x *Vote) GetSeen() *timestamppb.Timestamp
- func (x *Vote) GetSender() string
- func (x *Vote) GetSequence() uint64
- func (x *Vote) GetTxHash() []byte
- func (*Vote) ProtoMessage()
- func (x *Vote) ProtoReflect() protoreflect.Message
- func (x *Vote) Reset()
- func (x *Vote) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_wendy_types_proto protoreflect.FileDescriptor
Functions ¶
func MustMarshal ¶
func MustUnmarshal ¶
Types ¶
type Vote ¶
type Vote struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Sequence uint64 `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty"` TxHash []byte `protobuf:"bytes,3,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` Seen *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=seen,proto3" json:"seen,omitempty"` // contains filtered or unexported fields }
func (*Vote) Descriptor
deprecated
func (*Vote) GetSeen ¶
func (x *Vote) GetSeen() *timestamppb.Timestamp
func (*Vote) GetSequence ¶
func (*Vote) ProtoMessage ¶
func (*Vote) ProtoMessage()
func (*Vote) ProtoReflect ¶
func (x *Vote) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.