Documentation ¶
Index ¶
- type Storage
- func (this *Storage) Append(path string, data string, separator string) (bool, error)
- func (this *Storage) ConcatPathToUrl(url string, path string) string
- func (this *Storage) Exists(path string) bool
- func (this *Storage) LastModified(path string) (int64, error)
- func (this *Storage) Missing(path string) bool
- func (this *Storage) Path(path string) string
- func (this *Storage) Prepend(path string, data string, separator string) (bool, error)
- func (this *Storage) PutContentsAs(path string, contents string, name string, config ...map[string]any) (string, error)
- func (this *Storage) PutFileAs(path string, resource io.Reader, name string, config ...map[string]any) (string, error)
- func (this *Storage) Url(url string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage struct {
*filesystem.Fllesystem
}
*
- 文件管理器 *
- @create 2021-9-8
- @author deatil
func (*Storage) ConcatPathToUrl ¶
路径
func (*Storage) PutContentsAs ¶
func (this *Storage) PutContentsAs(path string, contents string, name string, config ...map[string]any) (string, error)
保存文本数据
Click to show internal directories.
Click to hide internal directories.