cache

package
v0.0.0-...-faefad5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2022 License: GPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache struct {
	// contains filtered or unexported fields
}

Cache system

func New

func New() Cache

New Cache

func NewWithRoot

func NewWithRoot(root string) Cache

NewWithRoot cache root

func (*Cache) IsCached

func (c *Cache) IsCached(URI string) bool

IsCached is URL cached

type CachedFile

type CachedFile struct {
	MD5          string
	URI          []string
	Date         time.Time
	OriginalName string
}

CachedFile Cached file

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL