entry

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Entry_EntryType_name = map[int32]string{
		0: "INSERT",
		1: "UPDATE",
		2: "DELETE",
	}
	Entry_EntryType_value = map[string]int32{
		"INSERT": 0,
		"UPDATE": 1,
		"DELETE": 2,
	}
)

Enum value maps for Entry_EntryType.

View Source
var File_entry_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Entry

type Entry struct {
	Key   string          `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Id    int32           `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` // Unique ID number for this person.
	Value string          `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	Type  Entry_EntryType `protobuf:"varint,4,opt,name=type,proto3,enum=entry.Entry_EntryType" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*Entry) Descriptor deprecated

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

Deprecated: Use Entry.ProtoReflect.Descriptor instead.

func (*Entry) GetId

func (x *Entry) GetId() int32

func (*Entry) GetKey

func (x *Entry) GetKey() string

func (*Entry) GetType

func (x *Entry) GetType() Entry_EntryType

func (*Entry) GetValue

func (x *Entry) GetValue() string

func (*Entry) ProtoMessage

func (*Entry) ProtoMessage()

func (*Entry) ProtoReflect

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

func (*Entry) Reset

func (x *Entry) Reset()

func (*Entry) String

func (x *Entry) String() string

type Entry_EntryType

type Entry_EntryType int32
const (
	Entry_INSERT Entry_EntryType = 0
	Entry_UPDATE Entry_EntryType = 1
	Entry_DELETE Entry_EntryType = 2
)

func (Entry_EntryType) Descriptor

func (Entry_EntryType) Enum

func (x Entry_EntryType) Enum() *Entry_EntryType

func (Entry_EntryType) EnumDescriptor deprecated

func (Entry_EntryType) EnumDescriptor() ([]byte, []int)

Deprecated: Use Entry_EntryType.Descriptor instead.

func (Entry_EntryType) Number

func (Entry_EntryType) String

func (x Entry_EntryType) String() string

func (Entry_EntryType) Type

Jump to

Keyboard shortcuts

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