Documentation
¶
Index ¶
Constants ¶
View Source
const (
DefaultTTL = time.Second * 30
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EndpointCache ¶
func New ¶
func New(logger *slog.Logger, client linodeclient.Client, cacheTTL time.Duration) *EndpointCache
func (*EndpointCache) Set ¶
func (c *EndpointCache) Set(key, val string)
Click to show internal directories.
Click to hide internal directories.