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
Click to show internal directories.
Click to hide internal directories.