oplogpb

package
v0.0.0-...-a615612 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var OperationType_name = map[int32]string{
	0: "OPERATION_TYPE_ADD_NODE",
	1: "OPERATION_TYPE_REMOVE_NODE",
	2: "OPERATION_TYPE_MAP_KEY",
}
View Source
var OperationType_value = map[string]int32{
	"OPERATION_TYPE_ADD_NODE":    0,
	"OPERATION_TYPE_REMOVE_NODE": 1,
	"OPERATION_TYPE_MAP_KEY":     2,
}

Functions

This section is empty.

Types

type OperationType

type OperationType int32
const (
	OperationType_OPERATION_TYPE_ADD_NODE    OperationType = 0
	OperationType_OPERATION_TYPE_REMOVE_NODE OperationType = 1
	OperationType_OPERATION_TYPE_MAP_KEY     OperationType = 2
)

func (OperationType) EnumDescriptor

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

func (OperationType) String

func (x OperationType) String() string

type Record

type Record struct {
	OperationType        OperationType        `` /* 144-byte string literal not displayed */
	Data                 string               `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	OperationTime        *timestamp.Timestamp `protobuf:"bytes,3,opt,name=operation_time,json=operationTime,proto3" json:"operation_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*Record) Descriptor

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

func (*Record) GetData

func (m *Record) GetData() string

func (*Record) GetOperationTime

func (m *Record) GetOperationTime() *timestamp.Timestamp

func (*Record) GetOperationType

func (m *Record) GetOperationType() OperationType

func (*Record) ProtoMessage

func (*Record) ProtoMessage()

func (*Record) Reset

func (m *Record) Reset()

func (*Record) String

func (m *Record) String() string

func (*Record) XXX_DiscardUnknown

func (m *Record) XXX_DiscardUnknown()

func (*Record) XXX_Marshal

func (m *Record) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Record) XXX_Merge

func (m *Record) XXX_Merge(src proto.Message)

func (*Record) XXX_Size

func (m *Record) XXX_Size() int

func (*Record) XXX_Unmarshal

func (m *Record) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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