Documentation ¶
Index ¶
- type PostMetaData
- type UploadImgHandler
- func (h *UploadImgHandler) GetLogger() *zap.SugaredLogger
- func (h *UploadImgHandler) List(s ssh.Session, fpath string, isDir bool, recursive bool) ([]os.FileInfo, error)
- func (h *UploadImgHandler) Read(s ssh.Session, entry *utils.FileEntry) (os.FileInfo, utils.ReaderAtCloser, error)
- func (h *UploadImgHandler) Validate(s ssh.Session) error
- func (h *UploadImgHandler) 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 PostMetaData ¶
type UploadImgHandler ¶
type UploadImgHandler struct { DBPool db.DB Cfg *shared.ConfigSite Storage storage.ObjectStorage }
func NewUploadImgHandler ¶
func NewUploadImgHandler(dbpool db.DB, cfg *shared.ConfigSite, storage storage.ObjectStorage) *UploadImgHandler
func (*UploadImgHandler) GetLogger ¶ added in v1.3.0
func (h *UploadImgHandler) GetLogger() *zap.SugaredLogger
Click to show internal directories.
Click to hide internal directories.