Documentation ¶
Overview ¶
Package locked provides concurrency-safe helpers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BytesBuffer ¶
type BytesBuffer struct {
// contains filtered or unexported fields
}
BytesBuffer is a locked bytes.Buffer.
func (*BytesBuffer) String ¶
func (b *BytesBuffer) String() string
type Mutex ¶
type Mutex struct {
// contains filtered or unexported fields
}
Mutex is a deadlock debugging lock. It will panic in a deadlock of longer than a defined grace period.
Click to show internal directories.
Click to hide internal directories.