Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EncryptedCache ¶
type EncryptedCache struct {
// contains filtered or unexported fields
}
func NewEncryptedCache ¶
func NewEncryptedCache(key []byte, next autocert.Cache) (*EncryptedCache, error)
func (*EncryptedCache) Delete ¶
func (c *EncryptedCache) Delete(ctx context.Context, key string) error
type LocalCertCache ¶
type LocalCertCache struct {
// contains filtered or unexported fields
}
func NewLocalCertCache ¶
func NewLocalCertCache(next autocert.Cache, ttl, timeout time.Duration) *LocalCertCache
func (*LocalCertCache) Delete ¶
func (cc *LocalCertCache) Delete(ctx context.Context, key string) error
func (*LocalCertCache) Start ¶
func (cc *LocalCertCache) Start()
func (*LocalCertCache) Stop ¶
func (cc *LocalCertCache) Stop()
type RedisCache ¶
type RedisCache struct {
// contains filtered or unexported fields
}
func NewRedisCache ¶
func NewRedisCache(r redis.Cmdable, prefix string) *RedisCache
func RedisCacheFromURL ¶
func RedisCacheFromURL(url string, prefix string) (*RedisCache, error)
func RedisClusterCacheFromURL ¶
func RedisClusterCacheFromURL(url string, prefix string) (*RedisCache, error)
Click to show internal directories.
Click to hide internal directories.