Documentation ¶
Index ¶
Constants ¶
View Source
const ( MaxRequestLength = 16 // max number of individual requests in a batch CapacityQueryName = "cq" CapacityQueryMaxLen = 16 )
View Source
const ( IntNonNegative = iota IntNegative IntPlusInf IntMinusInf )
Variables ¶
View Source
var ErrNoReply = errors.New("no reply for given request")
Functions ¶
This section is empty.
Types ¶
type CapacityQueryReply ¶
type CapacityQueryReply []uint64
CapacityQueryReq is the encoding format of the response to the capacity query
type CapacityQueryReq ¶
CapacityQueryReq is the encoding format of the capacity query
type IntOrInf ¶
IntOrInf is the encoding format for arbitrary length signed integers that can also hold the values of +Inf or -Inf
func (*IntOrInf) Int64 ¶
Int64 limits the value between MinInt64 and MaxInt64 (even if it is +-Inf) and returns an int64 type
Click to show internal directories.
Click to hide internal directories.