Versions in this module Expand all Collapse all v1 v1.1.9 Oct 1, 2018 Changes in this version + const RaceEnabled + var ErrIntOverflowUnresolvedAddr = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthUnresolvedAddr = fmt.Errorf("proto: negative length found during unmarshaling") + var TestAddr = NewUnresolvedAddr("tcp", "127.0.0.1:0") + func CRC32(data []byte) uint32 + func EqualPtrFields(src, dst reflect.Value, prefix string) []string + func GetSingleRune(s string) (rune, error) + func GetSmallTrace(skip int) string + func MoveTopKToFront(data sort.Interface, k int) + func Pluralize(n int64) string + func RetryForDuration(duration time.Duration, fn func() error) error + func RoundUpPowerOfTwo(x int64) int64 + func TruncateDuration(d time.Duration, r time.Duration) time.Duration + func UnexpectedWithIssueErrorf(issue int, format string, args ...interface{}) error + type FastIntSet struct + func MakeFastIntSet(elements ...uint32) FastIntSet + func (s *FastIntSet) Add(i uint32) + func (s *FastIntSet) Contains(i uint32) bool + func (s *FastIntSet) Copy() FastIntSet + func (s *FastIntSet) Empty() bool + func (s *FastIntSet) Equals(rhs FastIntSet) bool + func (s *FastIntSet) ForEach(f func(i uint32)) + func (s *FastIntSet) Next(startVal uint32) (uint32, bool) + func (s *FastIntSet) Ordered() []int + func (s *FastIntSet) Remove(i uint32) + func (s *FastIntSet) String() string + type NoCopy struct + func (*NoCopy) Lock() + type UnexpectedWithIssueErr struct + func (e UnexpectedWithIssueErr) Error() string + type UnresolvedAddr struct + AddressField string + NetworkField string + var IsolatedTestAddr *UnresolvedAddr + func MakeUnresolvedAddr(network, addr string) UnresolvedAddr + func NewUnresolvedAddr(network, addr string) *UnresolvedAddr + func (*UnresolvedAddr) Descriptor() ([]byte, []int) + func (*UnresolvedAddr) ProtoMessage() + func (a *UnresolvedAddr) Network() string + func (a *UnresolvedAddr) String() string + func (a UnresolvedAddr) IsEmpty() bool + func (a UnresolvedAddr) Resolve() (net.Addr, error) + func (m *UnresolvedAddr) Marshal() (dAtA []byte, err error) + func (m *UnresolvedAddr) MarshalTo(dAtA []byte) (int, error) + func (m *UnresolvedAddr) Reset() + func (m *UnresolvedAddr) Size() (n int) + func (m *UnresolvedAddr) Unmarshal(dAtA []byte) error Incompatible versions in this module v19.2.12+incompatible Jan 12, 2021