Documentation ¶
Index ¶
- Constants
- func AuthConfigHandler() fiber.Handler
- func AuthHandler() fiber.Handler
- func CheckTokenHandler() fiber.Handler
- func CreateDirHandler() fiber.Handler
- func CreateFileHandler(mgr *ddrv.Manager) fiber.Handler
- func DelDirHandler() fiber.Handler
- func DelFileHandler() fiber.Handler
- func DownloadFileHandler(mgr *ddrv.Manager) fiber.Handler
- func GetDirHandler() fiber.Handler
- func GetFileHandler() fiber.Handler
- func Load(app *fiber.App, mgr *ddrv.Manager)
- func LoginHandler() fiber.Handler
- func UpdateDirHandler() fiber.Handler
- func UpdateFileHandler() fiber.Handler
- type Directory
- type Response
- type User
Constants ¶
View Source
const ( StatusOk = fiber.StatusOK StatusRangeNotSatisfiable = fiber.StatusRequestedRangeNotSatisfiable StatusPartialContent = fiber.StatusPartialContent StatusBadRequest = fiber.StatusBadRequest StatusNotFound = fiber.StatusNotFound StatusForbidden = fiber.StatusForbidden StatusCreated = fiber.StatusCreated )
View Source
const ( ErrBadRequest = "bad request body" ErrBadUsernamePassword = "invalid username or password" )
Variables ¶
This section is empty.
Functions ¶
func AuthConfigHandler ¶
func AuthConfigHandler() fiber.Handler
func AuthHandler ¶
func AuthHandler() fiber.Handler
func CheckTokenHandler ¶
func CheckTokenHandler() fiber.Handler
func CreateDirHandler ¶
func CreateDirHandler() fiber.Handler
func CreateFileHandler ¶
func DelDirHandler ¶
func DelDirHandler() fiber.Handler
func DelFileHandler ¶
func DelFileHandler() fiber.Handler
func DownloadFileHandler ¶
func GetDirHandler ¶
func GetDirHandler() fiber.Handler
func GetFileHandler ¶
func GetFileHandler() fiber.Handler
func LoginHandler ¶
func LoginHandler() fiber.Handler
func UpdateDirHandler ¶
func UpdateDirHandler() fiber.Handler
func UpdateFileHandler ¶
func UpdateFileHandler() fiber.Handler
Types ¶
Click to show internal directories.
Click to hide internal directories.