Documentation
¶
Index ¶
- type Config
- type Epsv
- type Saver
- func (s *Saver) Close() error
- func (s *Saver) Delete(p string) error
- func (s *Saver) DeleteAll(p string) error
- func (s *Saver) ListFiles(dirPath string) ([]string, error)
- func (s *Saver) Read(p string) (io.ReadCloser, error)
- func (s *Saver) Write(p string, src io.Reader, existIgnores ...bool) (int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Host string `json:"host" yaml:"host" ini:"host"`
User string `json:"user" yaml:"user" ini:"user"`
Pwd string `json:"pwd" yaml:"pwd" ini:"pwd"`
Epsv Epsv `ini:"epsv" yaml:"epsv" json:"epsv,omitempty"` // ftp连接模式
}
Config ftp 配置 noinspection all
func (Config) GormDBDataType ¶
noinspection all
Click to show internal directories.
Click to hide internal directories.