Documentation ¶
Index ¶
- Constants
- Variables
- type Cloud
- func (f *Cloud) Close() error
- func (f *Cloud) Delete(dstFile string) error
- func (f *Cloud) DeleteDir(dstDir string) error
- func (f *Cloud) Exists(file string) (bool, error)
- func (f *Cloud) FileInfo(file string) (os.FileInfo, error)
- func (f *Cloud) FixURL(content string, embedded ...bool) string
- func (f *Cloud) FixURLWithParams(content string, values url.Values, embedded ...bool) string
- func (f *Cloud) Get(dstFile string) (io.ReadCloser, error)
- func (f *Cloud) Name() string
- func (f *Cloud) PublicURL(dstFile string) string
- func (f *Cloud) Put(dstFile string, src io.Reader, size int64) (savePath string, viewURL string, err error)
- func (f *Cloud) SendFile(ctx echo.Context, file string) error
- func (f *Cloud) URLToFile(publicURL string) string
- type Config
Constants ¶
View Source
const Name = `cloud`
Variables ¶
View Source
var DefaultConfig = &Config{}
Functions ¶
This section is empty.
Types ¶
type Cloud ¶
type Cloud struct { *local.Filesystem // contains filtered or unexported fields }
func (*Cloud) FixURLWithParams ¶
Click to show internal directories.
Click to hide internal directories.