Documentation
¶
Overview ¶
golibs library
golibs library
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Once ¶
type Once struct {
// contains filtered or unexported fields
}
Once is a single-thread version of sync.Once
type Reseter ¶
type Reseter interface {
// Reset allows to reset the object to the initial state. Result may
// indicate about an error during the reset.
Reset() error
}
Reseter is the interface that wraps the Reset method.
Some implementations may support reset mechanism, which allows to reset an object to its initial state. The objects may be considered resetable if they support this interface.
Click to show internal directories.
Click to hide internal directories.