mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-15 04:18:01 +00:00
12 lines
193 B
Go
12 lines
193 B
Go
|
package fastcache
|
||
|
|
||
|
import "github.com/caos/zitadel/internal/cache"
|
||
|
|
||
|
type Config struct {
|
||
|
MaxCacheSizeInByte int
|
||
|
}
|
||
|
|
||
|
func (c *Config) NewCache() (cache.Cache, error) {
|
||
|
return NewFastcache(c)
|
||
|
}
|