package
2.1.0-alpha.20180416+incompatible
Repository: https://github.com/coyle/cockroach.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package color is a lightweight terminal color library.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package fsm provides an interface for defining and working with finite-state machines.
No description provided by the author
Package hlc is a generated protocol buffer package.
No description provided by the author
No description provided by the author
Package interval provides two implementations for an interval tree.
No description provided by the author
No description provided by the author
Package leaktest provides tools to detect leaked goroutines in tests.
No description provided by the author
Package log is a generated protocol buffer package.
Package metric provides server metrics (a.k.a.
No description provided by the author
No description provided by the author
Package protoutil is a generated protocol buffer package.
No description provided by the author
No description provided by the author
Package sdnotify implements both sides of the systemd readiness protocol.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package sysutil is a cross-platform compatibility layer on top of package syscall.
No description provided by the author
No description provided by the author
Package tracing is a generated protocol buffer package.
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

CRC32 computes the Castagnoli CRC32 of the given data.
EnableRacePreemptionPoints enables goroutine preemption points declared with RacePreempt for builds using the race build tag.
EqualPtrFields uses reflection to check two "mirror" structures for matching pointer fields that point to the same object.
ErrorSource attempts to return the file:line where `i` was created if `i` has that information (i.e.
GetSingleRune decodes the string s as a single rune if possible.
GetSmallTrace returns a comma-separated string containing the top 5 callers from a given skip level.
MakeFastIntSet returns a set initialized with the given values.
MakeUnresolvedAddr populates an UnresolvedAddr from a network and raw address string.
MoveTopKToFront moves the top K elements to the front.
NewUnresolvedAddr creates a new UnresolvedAddr from a network and raw address string.
Pluralize returns a single character 's' unless n == 1.
RacePreempt adds a goroutine preemption point if CockroachDB was built with the race build tag and preemption points have been enabled.
UnexpectedWithIssueErrorf constructs an UnexpectedWithIssueError with the provided issue and formatted message.

# Constants

RaceEnabled is true if CockroachDB was built with the race build tag.

# Variables

No description provided by the author
No description provided by the author
IsolatedTestAddr is an address to use for tests that need extra isolation by using more addresses than 127.0.0.1 (support for this is platform-specific and only enabled on Linux).
TestAddr is an address to use for test servers.

# Structs

FastIntMap is a replacement for map[int]int which is more efficient when both keys and values are small.
FastIntSet keeps track of a set of integers.
NoCopy may be embedded into structs which must not be copied after the first use.
UnexpectedWithIssueErr indicates an error with an associated Github issue.
UnionFind implements the union find structure, with union by rank and path compression heuristics.
/ UnresolvedAddr is an unresolved version of net.Addr.