vote

package module
v0.0.0-...-4e644ab Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Vote

type Vote struct {
	ModelID  string `protobuf:"bytes,1,opt,name=modelID,proto3" json:"modelID,omitempty"`
	VoteID   string `protobuf:"bytes,2,opt,name=voteID,proto3" json:"voteID,omitempty"`
	Decision bool   `protobuf:"varint,3,opt,name=decision,proto3" json:"decision,omitempty"`
	Metadata string `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*Vote) Descriptor deprecated

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

Deprecated: Use Vote.ProtoReflect.Descriptor instead.

func (*Vote) GetDecision

func (x *Vote) GetDecision() bool

func (*Vote) GetMetadata

func (x *Vote) GetMetadata() string

func (*Vote) GetModelID

func (x *Vote) GetModelID() string

func (*Vote) GetVoteID

func (x *Vote) GetVoteID() string

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