Documentation ¶
Index ¶
Constants ¶
View Source
const ( RPR_periodic_wakeup_secs_normal = 60 RPR_periodic_wakeup_secs_try_hard = 30 RPR_periodic_wakeup_secs_try_harder = 5 MAX_reaped_per_iter = 1000 )
Variables ¶
This section is empty.
Functions ¶
func RegisterModule ¶
func RegisterModule()
Types ¶
type ZVCacherAPI ¶
type ZVCacherAPI struct { }
func GetZVCacher ¶
func GetZVCacher() *ZVCacherAPI
func (*ZVCacherAPI) Put ¶
func (c *ZVCacherAPI) Put(ins *zstypes.InsCacheInfo) error
func (*ZVCacherAPI) UpdateAndGet ¶
func (c *ZVCacherAPI) UpdateAndGet(account string, wreq *ztypes.StWbIReq) (*zstypes.InsCacheInfo, error)
type ZVCacherModType ¶
type ZVCacherModType struct{}
var ZVCacherModInst ZVCacherModType
func (*ZVCacherModType) Alive ¶
func (mod *ZVCacherModType) Alive() bool
func (*ZVCacherModType) Fini ¶
func (mod *ZVCacherModType) Fini() error
func (*ZVCacherModType) Init ¶
func (mod *ZVCacherModType) Init() error
func (*ZVCacherModType) Name ¶
func (mod *ZVCacherModType) Name() string
func (*ZVCacherModType) Start ¶
func (mod *ZVCacherModType) Start() error
func (*ZVCacherModType) Stop ¶
func (mod *ZVCacherModType) Stop() error
Click to show internal directories.
Click to hide internal directories.