pb

package
v2.3.3 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthSerialize        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSerialize          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupSerialize = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type ShardingBirdsNest

type ShardingBirdsNest struct {
	Length uint32 `protobuf:"varint,1,opt,name=length,proto3" json:"length,omitempty"`
	// The final height
	Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	// Bird's Nest config
	Config []byte `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"`
}

Sharding Bird's Nest

func (*ShardingBirdsNest) Descriptor

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

func (*ShardingBirdsNest) GetConfig

func (m *ShardingBirdsNest) GetConfig() []byte

func (*ShardingBirdsNest) GetHeight

func (m *ShardingBirdsNest) GetHeight() uint64

func (*ShardingBirdsNest) GetLength

func (m *ShardingBirdsNest) GetLength() uint32

func (*ShardingBirdsNest) Marshal

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

func (*ShardingBirdsNest) MarshalTo

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

func (*ShardingBirdsNest) MarshalToSizedBuffer

func (m *ShardingBirdsNest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ShardingBirdsNest) ProtoMessage

func (*ShardingBirdsNest) ProtoMessage()

func (*ShardingBirdsNest) Reset

func (m *ShardingBirdsNest) Reset()

func (*ShardingBirdsNest) Size

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

func (*ShardingBirdsNest) String

func (m *ShardingBirdsNest) String() string

func (*ShardingBirdsNest) Unmarshal

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

func (*ShardingBirdsNest) XXX_DiscardUnknown

func (m *ShardingBirdsNest) XXX_DiscardUnknown()

func (*ShardingBirdsNest) XXX_Marshal

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

func (*ShardingBirdsNest) XXX_Merge

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

func (*ShardingBirdsNest) XXX_Size

func (m *ShardingBirdsNest) XXX_Size() int

func (*ShardingBirdsNest) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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