Documentation ¶
Index ¶
- type FileData
- type UploadAssetHandler
- func (h *UploadAssetHandler) GetLogger() *zap.SugaredLogger
- func (h *UploadAssetHandler) List(s ssh.Session, fpath string, isDir bool, recursive bool) ([]os.FileInfo, error)
- func (h *UploadAssetHandler) Read(s ssh.Session, entry *utils.FileEntry) (os.FileInfo, utils.ReaderAtCloser, 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
func (*UploadAssetHandler) GetLogger ¶ added in v1.3.0
func (h *UploadAssetHandler) GetLogger() *zap.SugaredLogger
Click to show internal directories.
Click to hide internal directories.