cache

package
v0.0.0-...-5aeaf24 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clear

func Clear()

func Write

func Write(key string, c Cache) error

Types

type Cache

type Cache struct {
	Address string
	Token   string
	Updated time.Time
	TTL     time.Duration
}

func Read

func Read(key string) (Cache, error)

Jump to

Keyboard shortcuts

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