Files
elmprodvpn/selective-vpn-api/app/routes_cache.go

19 lines
842 B
Go

package app
// ---------------------------------------------------------------------
// routes clear cache (safe clear / fast restore)
// ---------------------------------------------------------------------
// EN: Snapshot data persisted before routes clear to support fast restore
// EN: without running full domain resolve again.
// RU: Снимок данных, который сохраняется перед routes clear для быстрого
// RU: восстановления без повторного полного резолва доменов.
type routesClearCacheMeta struct {
CreatedAt string `json:"created_at"`
Iface string `json:"iface,omitempty"`
RouteCount int `json:"route_count"`
IPCount int `json:"ip_count"`
DynIPCount int `json:"dyn_ip_count"`
HasIPMap bool `json:"has_ip_map"`
}