Skip to content

CacheData Model

swiftshadow.models.CacheData dataclass

Class repersenting data structure if the cache in cache file.

Attributes:

Name Type Description
expiryIn datetime

Expiry date object.

proxies list[Proxy]

Proxies to head.

Source code in swiftshadow/models.py
@dataclass
class CacheData:
    """
    Class repersenting data structure if the cache in cache file.

    Attributes:
        expiryIn: Expiry date object.
        proxies: Proxies to head.
    """

    expiryIn: datetime
    proxies: list[Proxy]