Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GC ¶
type GC struct {
// contains filtered or unexported fields
}
GC represents an object garbage collector.
func (*GC) DeleteObjects ¶
DeleteObjects adds list of adresses to delete queue.
type Option ¶
type Option func(*cfg)
Option represents GC constructor option.
func WithLogger ¶
WithLogger returns option to set logging component.
func WithQueueCapacity ¶
WithQueueCapacity returns option to set delete queue capacity.
func WithRemover ¶
WithRemover returns option to set object remover.
func WithSleepInterval ¶
WithSleepInteval returns option to set sleep interval of GC.
func WithWorkingInterval ¶
WithWorkingInterval returns option to set working interval of GC.
Click to show internal directories.
Click to hide internal directories.