Documentation ¶
Index ¶
- Variables
- type HashAlg
- type Range
- func (*Range) Descriptor() ([]byte, []int)
- func (this *Range) Equal(that interface{}) bool
- func (m *Range) GetEnd() uint64
- func (m *Range) GetReverse() bool
- func (m *Range) GetStart() uint64
- func (this *Range) GoString() string
- func (rng Range) Intersection(other Range) (Range, bool)
- func (rng Range) Length() uint64
- func (m *Range) Marshal() (dAtA []byte, err error)
- func (m *Range) MarshalTo(dAtA []byte) (int, error)
- func (m *Range) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (rng Range) NormalizedForLength(length uint64) Range
- func (*Range) ProtoMessage()
- func (m *Range) Reset()
- func (m *Range) Size() (n int)
- func (this *Range) String() string
- func (m *Range) Unmarshal(dAtA []byte) error
- func (this *Range) VerboseEqual(that interface{}) error
- func (m *Range) XXX_DiscardUnknown()
- func (m *Range) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Range) XXX_Merge(src proto.Message)
- func (m *Range) XXX_Size() int
- func (m *Range) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") )
View Source
var ErrInvalidRange = errors.New("invalid range")
View Source
var HashAlg_name = map[int32]string{
0: "Unknown",
1: "SHA1",
2: "SHA3",
}
View Source
var HashAlg_value = map[string]int32{
"Unknown": 0,
"SHA1": 1,
"SHA3": 2,
}
Functions ¶
This section is empty.
Types ¶
type HashAlg ¶
type HashAlg int32
func (HashAlg) EnumDescriptor ¶
func (HashAlg) MarshalJSON ¶
func (*HashAlg) UnmarshalJSON ¶
type Range ¶
type Range struct { Start uint64 `protobuf:"varint,1,opt,name=start,proto3" json:"start" tree:"start"` End uint64 `protobuf:"varint,2,opt,name=end,proto3" json:"end" tree:"end"` Reverse bool `protobuf:"varint,3,opt,name=reverse,proto3" json:"reverse" tree:"reverse"` }
func NewPopulatedRange ¶
func (*Range) Descriptor ¶
func (*Range) GetReverse ¶
func (Range) NormalizedForLength ¶
func (*Range) ProtoMessage ¶
func (*Range) ProtoMessage()
func (*Range) VerboseEqual ¶
func (*Range) XXX_DiscardUnknown ¶
func (m *Range) XXX_DiscardUnknown()
func (*Range) XXX_Marshal ¶
func (*Range) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.