package
1.5.0
Repository: https://github.com/m3db/m3.git
Documentation: pkg.go.dev

# Functions

DisableLeakDetection turns leak detection off.
DisableTracebacks turns traceback collection for events off.
DumpLeaks returns all detected leaks so far.
EnableLeakDetection turns leak detection on.
EnableTracebacks turns traceback collection for events on.
NewBytes returns a new checked byte slice.
NewBytesOptions returns a new set of bytes options.
NewMockBytes creates a new mock instance.
Panic will execute the currently set panic function.
ResetPanicFn resets the panic function to the default runtime panic.
SetPanicFn sets the panic function.
SetTracebackCycles sets the count of traceback cycles to keep if enabled.
SetTracebackMaxDepth sets the max amount of frames to capture for traceback.

# Structs

MockBytes is a mock of Bytes interface.
MockBytesMockRecorder is the mock recorder for MockBytes.
RefCount is an embeddable checked.Ref.

# Interfaces

Bytes is a checked byte slice.
BytesFinalizer finalizes a checked byte slice.
BytesOptions is a bytes option.
OnFinalize is callback to cleanup resources on a call to finalize.
Read is an entity that checks reads.
ReadWriteRef is an entity that checks ref counts, reads and writes.
Ref is an entity that checks ref counts.
Write is an entity that checks writes.

# Type aliases

BytesFinalizerFn is a function literal that is a bytes finalizer.
OnFinalizeFn is a function literal that is a finalizer callback.
PanicFn is a panic function to call on invalid checked state.