Documentation ¶
Index ¶
- type FileData
- type UploadAssetHandler
- func (h *UploadAssetHandler) List(s ssh.Session, fpath string) ([]os.FileInfo, error)
- func (h *UploadAssetHandler) Read(s ssh.Session, entry *utils.FileEntry) (os.FileInfo, io.ReaderAt, error)
- func (h *UploadAssetHandler) Validate(s ssh.Session) error
- func (h *UploadAssetHandler) Write(s ssh.Session, entry *utils.FileEntry) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UploadAssetHandler ¶
type UploadAssetHandler struct { DBPool db.DB Cfg *shared.ConfigSite Storage storage.ObjectStorage }
func NewUploadAssetHandler ¶
func NewUploadAssetHandler(dbpool db.DB, cfg *shared.ConfigSite, storage storage.ObjectStorage) *UploadAssetHandler
Click to show internal directories.
Click to hide internal directories.