Documentation ¶
Index ¶
- func AddFile(context echo.Context) error
- func AddIndex(context echo.Context) error
- func CreatePassword(context echo.Context) (err error)
- func DeleteFile(context echo.Context) error
- func DeleteIndex(context echo.Context) error
- func DeletePassword(context echo.Context) error
- func DownloadFile(context echo.Context) error
- func HelpPassword(context echo.Context) error
- func Index(context echo.Context) error
- func IndexFile(context echo.Context) error
- func ReadFile(context echo.Context) error
- func ReadIndex(context echo.Context) error
- func ReadPassword(context echo.Context) error
- func RevealPassword(context echo.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreatePassword ¶
func CreatePassword(context echo.Context) (err error)
*
- From a give password, return link
func DeleteFile ¶
func DeleteFile(context echo.Context) error
func DeleteIndex ¶
func DeleteIndex(context echo.Context) error
func DeletePassword ¶
func DeletePassword(context echo.Context) error
*
- From a given token, remove password from Redis.
func DownloadFile ¶
func DownloadFile(context echo.Context) error
func HelpPassword ¶
func HelpPassword(context echo.Context) error
*
- Print help for API usage in a readable way for bash/curl call
func ReadPassword ¶
func ReadPassword(context echo.Context) error
*
- From a given token, return the initial password, we decrypt the password fetched from Redis.
func RevealPassword ¶
func RevealPassword(context echo.Context) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.