Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MemoryCache ¶
var GlobalCache *MemoryCache
func (*MemoryCache) Delete ¶
func (c *MemoryCache) Delete(key string)
Delete deletes the value for the given key.
func (*MemoryCache) Get ¶
func (c *MemoryCache) Get(domain string) (*Cert, bool)
Get returns the value for the given key.
func (*MemoryCache) Set ¶
func (c *MemoryCache) Set(domain string, value Cert) bool
Set sets the value for the given key.
func (*MemoryCache) SetRange ¶
func (c *MemoryCache) SetRange(certs *[]Cert) error
SetRange setRange
Click to show internal directories.
Click to hide internal directories.