Versions in this module Expand all Collapse all v1 v1.0.1 Sep 3, 2022 Changes in this version + const CapacityQueryMaxLen + const CapacityQueryName + const IntMinusInf + const IntNegative + const IntNonNegative + const IntPlusInf + const MaxRequestLength + var ErrNoReply = errors.New("no reply for given request") + type CapacityQueryReply []uint64 + type CapacityQueryReq struct + AddTokens []IntOrInf + Bias uint64 + type IntOrInf struct + Type uint8 + Value big.Int + func (i *IntOrInf) BigInt() *big.Int + func (i *IntOrInf) Inf() int + func (i *IntOrInf) Int64() int64 + func (i *IntOrInf) SetBigInt(v *big.Int) + func (i *IntOrInf) SetInf(sign int) + func (i *IntOrInf) SetInt64(v int64) + type Replies [][]byte + func (r Replies) Get(i int, val interface{}) error + type Request struct + Name string + Params []byte + Service string + type Requests []Request + func (r *Requests) Add(service, name string, val interface{}) (int, error)