Documentation ¶
Overview ¶
Package common contains common utilities that are shared among other packages. See each sub-package for detail.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrObjectReleased = errors.New("Object already released.") ErrBadConfiguration = errors.New("Bad configuration.") )
Functions ¶
This section is empty.
Types ¶
type Releasable ¶ added in v1.11.1
type Releasable interface {
// Release releases all references to accelerate garbage collection.
Release()
}
Releasable interface is for those types that can release its members.
Directories ¶
Path | Synopsis |
---|---|
Package alloc provides a light-weight memory allocation mechanism.
|
Package alloc provides a light-weight memory allocation mechanism. |
internal
GENERATED CODE.
|
GENERATED CODE. |
Package dice contains common functions to generate random number.
|
Package dice contains common functions to generate random number. |
Package net contains common network utilities.
|
Package net contains common network utilities. |
Click to show internal directories.
Click to hide internal directories.