cache

package
v0.0.0-...-c6d8e01 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 9, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLocalCacheClient

func NewLocalCacheClient(option *LocalCacheOption, logger log.Logger) gcache.Cache

func NewRedisClient

func NewRedisClient(options *rds.Options, logger log.Logger) *rds.Client

Types

type LocalCacheOption

type LocalCacheOption struct {
	Size int // Size is the amount of keys that the cache can store
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL