Documentation ¶
Overview ¶
Package flats is a generated protocol buffer package.
It is generated from these files:
uids.proto
It has these top-level messages:
UidList UidListAlt
Index ¶
- Variables
- func ToAndFrom()
- func ToAndFromFlat(uids []uint64) (error, int)
- func ToAndFromProto(uids []uint64) (error, int)
- func ToAndFromProtoAlt(uids []uint64) (error, int)
- type UidList
- func (*UidList) Descriptor() ([]byte, []int)
- func (m *UidList) Marshal() (data []byte, err error)
- func (m *UidList) MarshalTo(data []byte) (int, error)
- func (*UidList) ProtoMessage()
- func (m *UidList) Reset()
- func (m *UidList) Size() (n int)
- func (m *UidList) String() string
- func (m *UidList) Unmarshal(data []byte) error
- type UidListAlt
- func (*UidListAlt) Descriptor() ([]byte, []int)
- func (m *UidListAlt) Marshal() (data []byte, err error)
- func (m *UidListAlt) MarshalTo(data []byte) (int, error)
- func (*UidListAlt) ProtoMessage()
- func (m *UidListAlt) Reset()
- func (m *UidListAlt) Size() (n int)
- func (m *UidListAlt) String() string
- func (m *UidListAlt) Unmarshal(data []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthUids = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowUids = fmt.Errorf("proto: integer overflow") )
Functions ¶
func ToAndFromFlat ¶
func ToAndFromProto ¶
func ToAndFromProtoAlt ¶
Types ¶
type UidList ¶
type UidList struct {
Uid []uint64 `protobuf:"varint,1,rep,name=uid" json:"uid,omitempty"`
}
func (*UidList) Descriptor ¶
func (*UidList) ProtoMessage ¶
func (*UidList) ProtoMessage()
type UidListAlt ¶
type UidListAlt struct {
Uid []uint64 `protobuf:"fixed64,1,rep,packed,name=uid" json:"uid,omitempty"`
}
func (*UidListAlt) Descriptor ¶
func (*UidListAlt) Descriptor() ([]byte, []int)
func (*UidListAlt) Marshal ¶
func (m *UidListAlt) Marshal() (data []byte, err error)
func (*UidListAlt) ProtoMessage ¶
func (*UidListAlt) ProtoMessage()
func (*UidListAlt) Reset ¶
func (m *UidListAlt) Reset()
func (*UidListAlt) Size ¶
func (m *UidListAlt) Size() (n int)
func (*UidListAlt) String ¶
func (m *UidListAlt) String() string
func (*UidListAlt) Unmarshal ¶
func (m *UidListAlt) Unmarshal(data []byte) error
Click to show internal directories.
Click to hide internal directories.