Versions in this module Expand all Collapse all v1 v1.5.4 Oct 26, 2023 Changes in this version + const CacheSuffix + const PatternGlob + const PatternService + func ServiceEventKeyToFileName(svcKey model.ServiceEventKey) string + type CacheFileInfo struct + FileInfo os.FileInfo + Msg proto.Message + type CachePersistHandler struct + func NewCachePersistHandler(persistDir string, maxWriteRetry int, maxReadRetry int, ...) (*CachePersistHandler, error) + func (cph *CachePersistHandler) DeleteCacheFromFile(fileName string) + func (cph *CachePersistHandler) LoadMessageFromFile(relativeFile string, message proto.Message) error + func (cph *CachePersistHandler) LoadPersistedServices() map[model.ServiceEventKey]CacheFileInfo + func (cph *CachePersistHandler) SaveMessageToFile(fileName string, svcResp proto.Message)