protobuf

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestMessage1

type TestMessage1 struct {
	Key1                 string   `protobuf:"bytes,1,opt,name=key1,proto3" json:"key1,omitempty"`
	Key2                 int32    `protobuf:"varint,2,opt,name=key2,proto3" json:"key2,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TestMessage1) Descriptor

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

func (*TestMessage1) GetKey1

func (m *TestMessage1) GetKey1() string

func (*TestMessage1) GetKey2

func (m *TestMessage1) GetKey2() int32

func (*TestMessage1) ProtoMessage

func (*TestMessage1) ProtoMessage()

func (*TestMessage1) Reset

func (m *TestMessage1) Reset()

func (*TestMessage1) String

func (m *TestMessage1) String() string

func (*TestMessage1) XXX_DiscardUnknown

func (m *TestMessage1) XXX_DiscardUnknown()

func (*TestMessage1) XXX_Marshal

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

func (*TestMessage1) XXX_Merge

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

func (*TestMessage1) XXX_Size

func (m *TestMessage1) XXX_Size() int

func (*TestMessage1) XXX_Unmarshal

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

type TestMessage2

type TestMessage2 struct {
	Key1                 string   `protobuf:"bytes,1,opt,name=key1,proto3" json:"key1,omitempty"`
	Key2                 int32    `protobuf:"varint,2,opt,name=key2,proto3" json:"key2,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TestMessage2) Descriptor

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

func (*TestMessage2) GetKey1

func (m *TestMessage2) GetKey1() string

func (*TestMessage2) GetKey2

func (m *TestMessage2) GetKey2() int32

func (*TestMessage2) ProtoMessage

func (*TestMessage2) ProtoMessage()

func (*TestMessage2) Reset

func (m *TestMessage2) Reset()

func (*TestMessage2) String

func (m *TestMessage2) String() string

func (*TestMessage2) XXX_DiscardUnknown

func (m *TestMessage2) XXX_DiscardUnknown()

func (*TestMessage2) XXX_Marshal

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

func (*TestMessage2) XXX_Merge

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

func (*TestMessage2) XXX_Size

func (m *TestMessage2) XXX_Size() int

func (*TestMessage2) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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