flats

package
v0.0.0-...-9841dc2 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

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

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 ToAndFrom

func ToAndFrom()

func ToAndFromFlat

func ToAndFromFlat(uids []uint64) (error, int)

func ToAndFromProto

func ToAndFromProto(uids []uint64) (error, int)

func ToAndFromProtoAlt

func ToAndFromProtoAlt(uids []uint64) (error, int)

Types

type UidList

type UidList struct {
	Uid []uint64 `protobuf:"varint,1,rep,name=uid" json:"uid,omitempty"`
}

func (*UidList) Descriptor

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

func (*UidList) Marshal

func (m *UidList) Marshal() (data []byte, err error)

func (*UidList) MarshalTo

func (m *UidList) MarshalTo(data []byte) (int, error)

func (*UidList) ProtoMessage

func (*UidList) ProtoMessage()

func (*UidList) Reset

func (m *UidList) Reset()

func (*UidList) Size

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

func (*UidList) String

func (m *UidList) String() string

func (*UidList) Unmarshal

func (m *UidList) Unmarshal(data []byte) error

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) MarshalTo

func (m *UidListAlt) MarshalTo(data []byte) (int, 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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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