pool

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2022 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLength        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflow          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group")
)
View Source
var File_pool_pool_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type MemoryPoolExtension

type MemoryPoolExtension struct {
	Foo1 string `protobuf:"bytes,1,opt,name=foo1,proto3" json:"foo1,omitempty"`
	Foo2 uint64 `protobuf:"varint,2,opt,name=foo2,proto3" json:"foo2,omitempty"`
	// contains filtered or unexported fields
}

func MemoryPoolExtensionFromVTPool

func MemoryPoolExtensionFromVTPool() *MemoryPoolExtension

func (*MemoryPoolExtension) Descriptor deprecated

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

Deprecated: Use MemoryPoolExtension.ProtoReflect.Descriptor instead.

func (*MemoryPoolExtension) EqualVT

func (this *MemoryPoolExtension) EqualVT(that *MemoryPoolExtension) bool

func (*MemoryPoolExtension) GetFoo1

func (x *MemoryPoolExtension) GetFoo1() string

func (*MemoryPoolExtension) GetFoo2

func (x *MemoryPoolExtension) GetFoo2() uint64

func (*MemoryPoolExtension) MarshalToSizedBufferVT

func (m *MemoryPoolExtension) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*MemoryPoolExtension) MarshalToVT

func (m *MemoryPoolExtension) MarshalToVT(dAtA []byte) (int, error)

func (*MemoryPoolExtension) MarshalVT

func (m *MemoryPoolExtension) MarshalVT() (dAtA []byte, err error)

func (*MemoryPoolExtension) ProtoMessage

func (*MemoryPoolExtension) ProtoMessage()

func (*MemoryPoolExtension) ProtoReflect

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

func (*MemoryPoolExtension) Reset

func (x *MemoryPoolExtension) Reset()

func (*MemoryPoolExtension) ResetVT

func (m *MemoryPoolExtension) ResetVT()

func (*MemoryPoolExtension) ReturnToVTPool

func (m *MemoryPoolExtension) ReturnToVTPool()

func (*MemoryPoolExtension) SizeVT

func (m *MemoryPoolExtension) SizeVT() (n int)

func (*MemoryPoolExtension) String

func (x *MemoryPoolExtension) String() string

func (*MemoryPoolExtension) UnmarshalVT

func (m *MemoryPoolExtension) UnmarshalVT(dAtA []byte) error

Jump to

Keyboard shortcuts

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