testpb

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2023 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Args

type Args struct {
	A int64 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"`
	B int64 `protobuf:"varint,2,opt,name=b,proto3" json:"b,omitempty"`
	// contains filtered or unexported fields
}

func (*Args) Descriptor deprecated

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

Deprecated: Use Args.ProtoReflect.Descriptor instead.

func (*Args) GetA

func (x *Args) GetA() int64

func (*Args) GetB

func (x *Args) GetB() int64

func (*Args) ProtoMessage

func (*Args) ProtoMessage()

func (*Args) ProtoReflect

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

func (*Args) Reset

func (x *Args) Reset()

func (*Args) String

func (x *Args) String() string

type Map

type Map struct {
	M map[int64]int64 `` /* 145-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Map) Descriptor deprecated

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

Deprecated: Use Map.ProtoReflect.Descriptor instead.

func (*Map) GetM

func (x *Map) GetM() map[int64]int64

func (*Map) ProtoMessage

func (*Map) ProtoMessage()

func (*Map) ProtoReflect

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

func (*Map) Reset

func (x *Map) Reset()

func (*Map) String

func (x *Map) String() string

type Reply

type Reply struct {
	C int64 `protobuf:"varint,1,opt,name=c,proto3" json:"c,omitempty"`
	// contains filtered or unexported fields
}

func (*Reply) Descriptor deprecated

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

Deprecated: Use Reply.ProtoReflect.Descriptor instead.

func (*Reply) GetC

func (x *Reply) GetC() int64

func (*Reply) ProtoMessage

func (*Reply) ProtoMessage()

func (*Reply) ProtoReflect

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

func (*Reply) Reset

func (x *Reply) Reset()

func (*Reply) String

func (x *Reply) String() string

type Slice

type Slice struct {
	S []int64 `protobuf:"varint,1,rep,packed,name=s,proto3" json:"s,omitempty"`
	// contains filtered or unexported fields
}

func (*Slice) Descriptor deprecated

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

Deprecated: Use Slice.ProtoReflect.Descriptor instead.

func (*Slice) GetS

func (x *Slice) GetS() []int64

func (*Slice) ProtoMessage

func (*Slice) ProtoMessage()

func (*Slice) ProtoReflect

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

func (*Slice) Reset

func (x *Slice) Reset()

func (*Slice) String

func (x *Slice) String() string

Jump to

Keyboard shortcuts

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