Documentation
¶
Index ¶
- type Config
- type TonutilsStorage
- func (s *TonutilsStorage) AddByBagID(bagID string, path string) (bool, error)
- func (s *TonutilsStorage) Create(path string) (string, bool, error)
- func (s *TonutilsStorage) Info(bagID string) (interface{}, error)
- func (s *TonutilsStorage) List() ([]entity.BagID, error)
- func (s *TonutilsStorage) Remove(bagID string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TonutilsStorage ¶
type TonutilsStorage struct {
// contains filtered or unexported fields
}
func NewTonutilsStorage ¶
func NewTonutilsStorage(config Config) *TonutilsStorage
func (*TonutilsStorage) AddByBagID ¶
func (s *TonutilsStorage) AddByBagID(bagID string, path string) (bool, error)
func (*TonutilsStorage) Create ¶
func (s *TonutilsStorage) Create(path string) (string, bool, error)
func (*TonutilsStorage) Info ¶
func (s *TonutilsStorage) Info(bagID string) (interface{}, error)
func (*TonutilsStorage) Remove ¶
func (s *TonutilsStorage) Remove(bagID string) bool
Click to show internal directories.
Click to hide internal directories.