api

package
v0.0.0-...-88723d5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2022 License: AGPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApiMain

func ApiMain(addr string, botInterface *bot.BotInterface) func(*sync.WaitGroup)

func CheckLogin

func CheckLogin(c echo.Context) error

func CreateFolder

func CreateFolder(c echo.Context) error

func DeleteFile

func DeleteFile(c echo.Context) error

func DeleteFolder

func DeleteFolder(c echo.Context) error

func DownloadFile

func DownloadFile(i *bot.BotInterface) func(c echo.Context) error

func GetFile

func GetFile(c echo.Context) error

func GetFolder

func GetFolder(c echo.Context) error

func GetRoot

func GetRoot(c echo.Context) error

func GetTempJWTFactory

func GetTempJWTFactory() func(int64, int64) (string, error)

func GetTree

func GetTree(c echo.Context) error

func GetUser

func GetUser(c echo.Context) error

func ListContent

func ListContent(c echo.Context) error

func Login

func Login(botInterface *bot.BotInterface) func(c echo.Context) error

func Register

func Register(botInterface *bot.BotInterface) func(c echo.Context) error

func Static

func Static(prefix string, root string, fallback string) func(c echo.Context) error

func UpdateFile

func UpdateFile(c echo.Context) error

func UpdateFolder

func UpdateFolder(c echo.Context) error

func UploadFile

func UploadFile(botInterface *bot.BotInterface) func(c echo.Context) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL