split cert func to related packages

This commit is contained in:
6543 2021-12-05 15:21:05 +01:00
parent bb6f28fe57
commit ccada3e6df
No known key found for this signature in database
GPG key ID: C99B82E40B027BAE
8 changed files with 131 additions and 119 deletions

View file

@ -16,3 +16,6 @@ var FileCacheTimeout = 5 * time.Minute
// FileCacheSizeLimit limits the maximum file size that will be cached, and is set to 1 MB by default.
var FileCacheSizeLimit = 1024 * 1024
// CanonicalDomainCacheTimeout specifies the timeout for the canonical domain cache.
var CanonicalDomainCacheTimeout = 15 * time.Minute