Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MeaningOfLifeCache ¶
type MeaningOfLifeCache interface {
LoadOrStore(originFunc func() (string, error)) (string, error)
}
func NewMeaningOfLifeCacheRedis ¶
func NewMeaningOfLifeCacheRedis(client *redis.ClusterClient, logger *zap.Logger) MeaningOfLifeCache
Click to show internal directories.
Click to hide internal directories.