Documentation
¶
Index ¶
- func NewLocalStorage(args oss.OSSArgs) (oss.OSS, error)
- type LocalStorage
- func (l *LocalStorage) Delete(key string) error
- func (l *LocalStorage) Exists(key string) (bool, error)
- func (l *LocalStorage) List(prefix string) ([]oss.OSSPath, error)
- func (l *LocalStorage) Load(key string) ([]byte, error)
- func (l *LocalStorage) Save(key string, data []byte) error
- func (l *LocalStorage) State(key string) (oss.OSSState, error)
- func (l *LocalStorage) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LocalStorage ¶
type LocalStorage struct {
// contains filtered or unexported fields
}
func (*LocalStorage) Delete ¶
func (l *LocalStorage) Delete(key string) error
func (*LocalStorage) Type ¶
func (l *LocalStorage) Type() string
Click to show internal directories.
Click to hide internal directories.