localstorage

package
v0.0.0-...-b155b17 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CacheHandler

func CacheHandler(ctx *gin.Context)

CacheHandler cache target url

func LoadContentByUrl

func LoadContentByUrl(ctx context.Context, url string) (io.ReadCloser, error)

LoadContentByUrl load content by url

Note: caller should close the returned io.ReadCloser

func LoadContentFromS3

func LoadContentFromS3(ctx context.Context, url string) (io.ReadCloser, error)

LoadContentFromS3 load content by url

Note: caller should close the returned io.ReadCloser

func RunSaveUrlContent

func RunSaveUrlContent(ctx context.Context)

RunSaveUrlContent run save url content

func SaveUrlContent

func SaveUrlContent(ctx context.Context, item taskItem) error

SaveUrlContent save url content to s3

Types

This section is empty.

Jump to

Keyboard shortcuts

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