mappable

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: Apache-2.0 Imports: 10 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthMappable        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMappable          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMappable = fmt.Errorf("proto: unexpected end of group")
)

Functions

func GetSplit

func GetSplit(mappable helpers.Mappable) types.Split

func MappablesToInterface

func MappablesToInterface(mappables []*Mappable) []helpers.Mappable

func NewMappable

func NewMappable(split types.Split) helpers.Mappable

func Prototype

func Prototype() helpers.Mappable

Types

type Mappable

type Mappable struct {
	Split *base.Split `protobuf:"bytes,1,opt,name=split,proto3" json:"split,omitempty"`
}

func MappablesFromInterface

func MappablesFromInterface(mappables []helpers.Mappable) []*Mappable

func (*Mappable) Descriptor

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

func (*Mappable) GetSplit

func (m *Mappable) GetSplit() *base.Split

func (*Mappable) Marshal

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

func (*Mappable) MarshalTo

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

func (*Mappable) MarshalToSizedBuffer

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

func (*Mappable) ProtoMessage

func (*Mappable) ProtoMessage()

func (*Mappable) RegisterLegacyAminoCodec

func (*Mappable) RegisterLegacyAminoCodec(legacyAmino *codec.LegacyAmino)

func (*Mappable) Reset

func (m *Mappable) Reset()

func (*Mappable) Size

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

func (*Mappable) String

func (m *Mappable) String() string

func (*Mappable) Unmarshal

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

func (*Mappable) ValidateBasic

func (mappable *Mappable) ValidateBasic() error

func (*Mappable) XXX_DiscardUnknown

func (m *Mappable) XXX_DiscardUnknown()

func (*Mappable) XXX_Marshal

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

func (*Mappable) XXX_Merge

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

func (*Mappable) XXX_Size

func (m *Mappable) XXX_Size() int

func (*Mappable) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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