Documentation ¶
Index ¶
- func AddFile(ctx *context.Context, resp http.ResponseWriter, req *http.Request)
- func CreateToken(ctx *context.Context, resp http.ResponseWriter, req *http.Request)
- func CreateUpload(ctx *context.Context, resp http.ResponseWriter, req *http.Request)
- func DeleteAccount(ctx *context.Context, resp http.ResponseWriter, req *http.Request)
- func GetArchive(ctx *context.Context, resp http.ResponseWriter, req *http.Request)
- func GetConfiguration(ctx *context.Context, resp http.ResponseWriter, req *http.Request)
- func GetFile(ctx *context.Context, resp http.ResponseWriter, req *http.Request)
- func GetQrCode(ctx *context.Context, resp http.ResponseWriter, req *http.Request)
- func GetServerStatistics(ctx *context.Context, resp http.ResponseWriter, req *http.Request)
- func GetUpload(ctx *context.Context, resp http.ResponseWriter, req *http.Request)
- func GetUserStatistics(ctx *context.Context, resp http.ResponseWriter, req *http.Request)
- func GetUserTokens(ctx *context.Context, resp http.ResponseWriter, req *http.Request)
- func GetUserUploads(ctx *context.Context, resp http.ResponseWriter, req *http.Request)
- func GetUsers(ctx *context.Context, resp http.ResponseWriter, req *http.Request)
- func GetVersion(ctx *context.Context, resp http.ResponseWriter, req *http.Request)
- func GoogleCallback(ctx *context.Context, resp http.ResponseWriter, req *http.Request)
- func GoogleLogin(ctx *context.Context, resp http.ResponseWriter, req *http.Request)
- func LocalLogin(ctx *context.Context, resp http.ResponseWriter, req *http.Request)
- func Logout(ctx *context.Context, resp http.ResponseWriter, req *http.Request)
- func OvhCallback(ctx *context.Context, resp http.ResponseWriter, req *http.Request)
- func OvhLogin(ctx *context.Context, resp http.ResponseWriter, req *http.Request)
- func RemoveFile(ctx *context.Context, resp http.ResponseWriter, req *http.Request)
- func RemoveUpload(ctx *context.Context, resp http.ResponseWriter, req *http.Request)
- func RemoveUserUploads(ctx *context.Context, resp http.ResponseWriter, req *http.Request)
- func RevokeToken(ctx *context.Context, resp http.ResponseWriter, req *http.Request)
- func UserInfo(ctx *context.Context, resp http.ResponseWriter, req *http.Request)
- type LoginParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateToken ¶
CreateToken create a new token
func CreateUpload ¶
CreateUpload create a new upload
func DeleteAccount ¶
DeleteAccount remove a user account
func GetArchive ¶
GetArchive download all file of the upload in a zip archive
func GetConfiguration ¶
GetConfiguration return the server configuration
func GetServerStatistics ¶
GetServerStatistics return the server statistics
func GetUserStatistics ¶
GetUserStatistics return the user statistics
func GetUserTokens ¶
GetUserTokens return user tokens
func GetUserUploads ¶
GetUserUploads get user uploads
func GetVersion ¶
GetVersion return the build information.
func GoogleCallback ¶
GoogleCallback authenticate google user.
func GoogleLogin ¶
GoogleLogin return google api user consent URL.
func LocalLogin ¶
LocalLogin handler to authenticate local users
func OvhCallback ¶
OvhCallback authenticate OVH user.
func RemoveFile ¶
RemoveFile remove a file from an existing upload
func RemoveUpload ¶
RemoveUpload remove an upload and all associated files
func RemoveUserUploads ¶
RemoveUserUploads delete all user uploads
func RevokeToken ¶
RevokeToken remove a token
Types ¶
type LoginParams ¶
LoginParams to be POSTed by clients to authenticate