Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GarbageTruck ¶
type GarbageTruck struct {
// contains filtered or unexported fields
}
GarbageTruck contains all the information for running it.
func (*GarbageTruck) Run ¶
func (gt *GarbageTruck) Run(wg *sync.WaitGroup, shutdown <-chan struct{}) error
Start the GarbageTruck. Logs the garbage collection stats.
func (*GarbageTruck) SetInterval ¶
func (gt *GarbageTruck) SetInterval(t time.Duration)
SetInterval sets the time a which the ticker will tick.
Click to show internal directories.
Click to hide internal directories.