kratos: github.com/bilibili/kratos/pkg/cache/memcache/test Index | Files

package proto

import "github.com/bilibili/kratos/pkg/cache/memcache/test"

Package proto is a generated protocol buffer package.

It is generated from these files:

test.proto

It has these top-level messages:

TestItem

Index

Package Files

test.pb.go

Variables

var (
    ErrInvalidLengthTest = fmt.Errorf("proto: negative length found during unmarshaling")
    ErrIntOverflowTest   = fmt.Errorf("proto: integer overflow")
)
var FOO_name = map[int32]string{
    0: "X",
}
var FOO_value = map[string]int32{
    "X": 0,
}

type FOO Uses

type FOO int32
const (
    FOO_X FOO = 0
)

func (FOO) EnumDescriptor Uses

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

func (FOO) String Uses

func (x FOO) String() string

type TestItem Uses

type TestItem struct {
    Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
    Age  int32  `protobuf:"varint,2,opt,name=Age,proto3" json:"Age,omitempty"`
}

func (*TestItem) Descriptor Uses

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

func (*TestItem) GetAge Uses

func (m *TestItem) GetAge() int32

func (*TestItem) GetName Uses

func (m *TestItem) GetName() string

func (*TestItem) Marshal Uses

func (m *TestItem) Marshal() (dAtA []byte, err error)

func (*TestItem) MarshalTo Uses

func (m *TestItem) MarshalTo(dAtA []byte) (int, error)

func (*TestItem) ProtoMessage Uses

func (*TestItem) ProtoMessage()

func (*TestItem) Reset Uses

func (m *TestItem) Reset()

func (*TestItem) Size Uses

func (m *TestItem) Size() (n int)

func (*TestItem) String Uses

func (m *TestItem) String() string

func (*TestItem) Unmarshal Uses

func (m *TestItem) Unmarshal(dAtA []byte) error

Package proto imports 4 packages (graph). Updated 2019-06-11. Refresh now. Tools for package owners.