paper

package
v0.0.0-...-9288414 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CachePaper

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

func NewCachePaper

func NewCachePaper(client *redis.Client) *CachePaper

func (*CachePaper) GetFileDirCache

func (c *CachePaper) GetFileDirCache(ctx context.Context, key string) (bool, *model.UpYunFileDir, error)

func (*CachePaper) GetFileDirKey

func (c *CachePaper) GetFileDirKey(path string) string

func (*CachePaper) SetFileDirCache

func (c *CachePaper) SetFileDirCache(ctx context.Context, key string, dir model.UpYunFileDir) error

Jump to

Keyboard shortcuts

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