Documentation ¶
Index ¶
Constants ¶
View Source
const ( LocalStorage = config.LocalStorage MemoryStorage = config.MemoryStorage )
View Source
const (
MinioStorage = config.MinioStorage
)
View Source
const (
OSSStorage = config.OSSStorage
)
View Source
const (
S3Storage = config.S3Storage
)
View Source
const (
WebdavStorage = config.WebdavStorage
)
Variables ¶
This section is empty.
Functions ¶
func InitLocalCache ¶
Types ¶
type CacheNode ¶
type CacheNode interface { io.ReaderAt io.WriterAt io.Closer Size() int64 // contains filtered or unexported methods }
func NewMemCacheNode ¶
type LocalCache ¶
type LocalCache struct {
// contains filtered or unexported fields
}
func NewLocalCache ¶
func NewLocalCache(s Storage) *LocalCache
func (*LocalCache) CommitTemporaryNode ¶
func (*LocalCache) OpenCacheNode ¶
func (*LocalCache) OpenTemporaryNode ¶
Click to show internal directories.
Click to hide internal directories.