Documentation ¶
Index ¶
- func MarshalKey(d *pb.DatumKey) ([]byte, error)
- func MarshalValue(d *pb.DatumValue) ([]byte, error)
- func SizeKey(d *pb.DatumKey) (s uint64)
- func SizeValue(d *pb.DatumValue) (s uint64)
- func UnmarshalKey(d *pb.DatumKey, buf []byte) (uint64, error)
- func UnmarshalValue(d *pb.DatumValue, buf []byte) (uint64, error)
- type DatumScore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalValue ¶
func MarshalValue(d *pb.DatumValue) ([]byte, error)
func SizeValue ¶
func SizeValue(d *pb.DatumValue) (s uint64)
func UnmarshalValue ¶
func UnmarshalValue(d *pb.DatumValue, buf []byte) (uint64, error)
Types ¶
type DatumScore ¶
type DatumScore struct {
Score float64
}
func (*DatumScore) Marshal ¶
func (d *DatumScore) Marshal() ([]byte, error)
func (*DatumScore) Size ¶
func (d *DatumScore) Size() (s uint64)
Click to show internal directories.
Click to hide internal directories.