wendy

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_wendy_types_proto protoreflect.FileDescriptor

Functions

func MustMarshal

func MustMarshal(msg proto.Message) []byte

func MustUnmarshal

func MustUnmarshal(b []byte, m proto.Message)

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 NewVote

func NewVote(sender string, seq uint64, hash []byte) *Vote

func (*Vote) Descriptor deprecated

func (*Vote) Descriptor() ([]byte, []int)

Deprecated: Use Vote.ProtoReflect.Descriptor instead.

func (*Vote) GetSeen

func (x *Vote) GetSeen() *timestamppb.Timestamp

func (*Vote) GetSender

func (x *Vote) GetSender() string

func (*Vote) GetSequence

func (x *Vote) GetSequence() uint64

func (*Vote) GetTxHash

func (x *Vote) GetTxHash() []byte

func (*Vote) ProtoMessage

func (*Vote) ProtoMessage()

func (*Vote) ProtoReflect

func (x *Vote) ProtoReflect() protoreflect.Message

func (*Vote) Reset

func (x *Vote) Reset()

func (*Vote) String

func (x *Vote) String() string

Jump to

Keyboard shortcuts

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