Documentation
¶
Overview ¶
Package hk provides mechanism for registering cleanup functions which are invoked at specified intervals.
- Copyright (c) 2018-2021, NVIDIA CORPORATION. All rights reserved.
Index ¶
Constants ¶
View Source
const ( DayInterval = 24 * time.Hour UnregInterval = 365 * DayInterval // to unregister upon return from the callback )
View Source
const NameSuffix = ".gc" // reg name suffix
Variables ¶
View Source
var DefaultHK *housekeeper
Functions ¶
func WaitStarted ¶
func WaitStarted()
Types ¶
type CleanupFunc ¶
Click to show internal directories.
Click to hide internal directories.