# Functions
FindServerCache finds Cache that belongs to the specified server.
NewCache creates a new Cache with CacheConfig provided.
NewLogger creates a new logrus.Entry with name provided.
NewPenguinRequest creates a http.Request that parses resource as relative path against BaseEndpoint to produce path, and appends server to the URL that is being generated.
NewRetriedOperation executes a retry.RetryableFunc with custom default retry parameters.
NewUniString creates a new UniString instance that contains only unique strings.
UnmarshalFromReader unmarshals all data from reader and populates it to v.
ValidServer validates if server counts as a valid server.
# Constants
AcceptableFailCount describes how many fails would be tolerated until the server refuses to serve any more data.
BaseEndpoint is the endpoint for all of the data.
DefaultTimeout describes the default timeout for the underlying http.Client that the updater uses.
# Variables
ErrCacheNotFound describes a cache that cannot found with the server provided.
# Structs
Cache is the thread-safe cache instance that automatically updates data every Interval with Updater.
CacheConfig describes the configuration to provide when initializing a cache instance.
UniString contains only unique strings which uses a underlying map which provides a constant time complexity.
# Type aliases
Updater describes a func type which will be used to call and get data update from.