sendrecv

package
v0.0.0-...-e6e2d5c Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2020 License: LGPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package sendrecv is a generated protocol buffer package.

имя пакета, в результирующем go-файле это сохраниться

It is generated from these files:

sendrecv.proto

It has these top-level messages:

Msg

Index

Constants

View Source
const Default_Msg_DataSet_Ordered bool = false
View Source
const Default_Msg_Reset bool = true

Variables

This section is empty.

Functions

This section is empty.

Types

type Msg

type Msg struct {
	// тип имя_поля = номер_поля
	// repeated Key        keys = 100;
	Vals             []*Msg_SendValues `protobuf:"bytes,101,rep,name=vals" json:"vals,omitempty"`
	Reset_           *bool             `protobuf:"varint,102,opt,name=reset,def=1" json:"reset,omitempty"`
	XXX_unrecognized []byte            `json:"-"`
}

func (*Msg) Descriptor

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

func (*Msg) GetReset_

func (m *Msg) GetReset_() bool

func (*Msg) GetVals

func (m *Msg) GetVals() []*Msg_SendValues

func (*Msg) ProtoMessage

func (*Msg) ProtoMessage()

func (*Msg) Reset

func (m *Msg) Reset()

func (*Msg) String

func (m *Msg) String() string

type Msg_DataSet

type Msg_DataSet struct {
	Value            []string `protobuf:"bytes,21,rep,name=value" json:"value,omitempty"`
	Ordered          *bool    `protobuf:"varint,22,req,name=ordered,def=0" json:"ordered,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*Msg_DataSet) Descriptor

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

func (*Msg_DataSet) GetOrdered

func (m *Msg_DataSet) GetOrdered() bool

func (*Msg_DataSet) GetValue

func (m *Msg_DataSet) GetValue() []string

func (*Msg_DataSet) ProtoMessage

func (*Msg_DataSet) ProtoMessage()

func (*Msg_DataSet) Reset

func (m *Msg_DataSet) Reset()

func (*Msg_DataSet) String

func (m *Msg_DataSet) String() string

type Msg_Key

type Msg_Key struct {
	// Types that are valid to be assigned to Key:
	//	*Msg_Key_KeyString
	//	*Msg_Key_HashKey
	Key              isMsg_Key_Key `protobuf_oneof:"key"`
	Hashvalue        *uint64       `protobuf:"varint,3,req,name=hashvalue" json:"hashvalue,omitempty"`
	TTL              *uint32       `protobuf:"varint,4,opt,name=TTL" json:"TTL,omitempty"`
	XXX_unrecognized []byte        `json:"-"`
}

func (*Msg_Key) Descriptor

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

func (*Msg_Key) GetHashKey

func (m *Msg_Key) GetHashKey() uint64

func (*Msg_Key) GetHashvalue

func (m *Msg_Key) GetHashvalue() uint64

func (*Msg_Key) GetKey

func (m *Msg_Key) GetKey() isMsg_Key_Key

func (*Msg_Key) GetKeyString

func (m *Msg_Key) GetKeyString() string

func (*Msg_Key) GetTTL

func (m *Msg_Key) GetTTL() uint32

func (*Msg_Key) ProtoMessage

func (*Msg_Key) ProtoMessage()

func (*Msg_Key) Reset

func (m *Msg_Key) Reset()

func (*Msg_Key) String

func (m *Msg_Key) String() string

func (*Msg_Key) XXX_OneofFuncs

func (*Msg_Key) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type Msg_KeyValue

type Msg_KeyValue struct {
	Key              *string `protobuf:"bytes,10,req,name=key" json:"key,omitempty"`
	Value            *string `protobuf:"bytes,11,req,name=value" json:"value,omitempty"`
	TTL              *uint32 `protobuf:"varint,12,opt,name=TTL" json:"TTL,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*Msg_KeyValue) Descriptor

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

func (*Msg_KeyValue) GetKey

func (m *Msg_KeyValue) GetKey() string

func (*Msg_KeyValue) GetTTL

func (m *Msg_KeyValue) GetTTL() uint32

func (*Msg_KeyValue) GetValue

func (m *Msg_KeyValue) GetValue() string

func (*Msg_KeyValue) ProtoMessage

func (*Msg_KeyValue) ProtoMessage()

func (*Msg_KeyValue) Reset

func (m *Msg_KeyValue) Reset()

func (*Msg_KeyValue) String

func (m *Msg_KeyValue) String() string

type Msg_KeyValueMap

type Msg_KeyValueMap struct {
	Keys             []string `protobuf:"bytes,30,rep,name=keys" json:"keys,omitempty"`
	Values           []string `protobuf:"bytes,31,rep,name=values" json:"values,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*Msg_KeyValueMap) Descriptor

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

func (*Msg_KeyValueMap) GetKeys

func (m *Msg_KeyValueMap) GetKeys() []string

func (*Msg_KeyValueMap) GetValues

func (m *Msg_KeyValueMap) GetValues() []string

func (*Msg_KeyValueMap) ProtoMessage

func (*Msg_KeyValueMap) ProtoMessage()

func (*Msg_KeyValueMap) Reset

func (m *Msg_KeyValueMap) Reset()

func (*Msg_KeyValueMap) String

func (m *Msg_KeyValueMap) String() string

type Msg_Key_HashKey

type Msg_Key_HashKey struct {
	HashKey uint64 `protobuf:"varint,2,opt,name=hashKey,oneof"`
}

type Msg_Key_KeyString

type Msg_Key_KeyString struct {
	KeyString string `protobuf:"bytes,1,opt,name=keyString,oneof"`
}

type Msg_SendValues

type Msg_SendValues struct {
	Key *string `protobuf:"bytes,111,req,name=key" json:"key,omitempty"`
	TTL *uint32 `protobuf:"varint,110,opt,name=TTL" json:"TTL,omitempty"`
	// Types that are valid to be assigned to Value:
	//	*Msg_SendValues_Strvalue
	//	*Msg_SendValues_Mapvalue
	//	*Msg_SendValues_Setvalue
	//	*Msg_SendValues_Listvalue
	Value            isMsg_SendValues_Value `protobuf_oneof:"value"`
	XXX_unrecognized []byte                 `json:"-"`
}

func (*Msg_SendValues) Descriptor

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

func (*Msg_SendValues) GetKey

func (m *Msg_SendValues) GetKey() string

func (*Msg_SendValues) GetListvalue

func (m *Msg_SendValues) GetListvalue() *Msg_DataSet

func (*Msg_SendValues) GetMapvalue

func (m *Msg_SendValues) GetMapvalue() *Msg_KeyValueMap

func (*Msg_SendValues) GetSetvalue

func (m *Msg_SendValues) GetSetvalue() *Msg_DataSet

func (*Msg_SendValues) GetStrvalue

func (m *Msg_SendValues) GetStrvalue() string

func (*Msg_SendValues) GetTTL

func (m *Msg_SendValues) GetTTL() uint32

func (*Msg_SendValues) GetValue

func (m *Msg_SendValues) GetValue() isMsg_SendValues_Value

func (*Msg_SendValues) ProtoMessage

func (*Msg_SendValues) ProtoMessage()

func (*Msg_SendValues) Reset

func (m *Msg_SendValues) Reset()

func (*Msg_SendValues) String

func (m *Msg_SendValues) String() string

func (*Msg_SendValues) XXX_OneofFuncs

func (*Msg_SendValues) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type Msg_SendValues_Listvalue

type Msg_SendValues_Listvalue struct {
	Listvalue *Msg_DataSet `protobuf:"bytes,115,opt,name=listvalue,oneof"`
}

type Msg_SendValues_Mapvalue

type Msg_SendValues_Mapvalue struct {
	Mapvalue *Msg_KeyValueMap `protobuf:"bytes,113,opt,name=mapvalue,oneof"`
}

type Msg_SendValues_Setvalue

type Msg_SendValues_Setvalue struct {
	Setvalue *Msg_DataSet `protobuf:"bytes,114,opt,name=setvalue,oneof"`
}

type Msg_SendValues_Strvalue

type Msg_SendValues_Strvalue struct {
	Strvalue string `protobuf:"bytes,112,opt,name=strvalue,oneof"`
}

Jump to

Keyboard shortcuts

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