package
Version:
v0.0.0-...-e5543ad
Opens a new window with list of versions in this module.
Published: Dec 2, 2021
License: ISC
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
NewRouter : create new router for admin endpoint
type Credentials struct {
Username string `json:"username"`
Password string `json:"password"`
}
Credentials : user credentials for sign in
type File struct {
Name string `json:"name"`
URL string `json:"url"`
}
File : file data for listing
type Filelist struct {
Files []string `json:"files"`
}
Filelist : list of files
Route : route object
DeleteFile : delete a file from the API
Login : log in to the API
VerifyFile : Verifying user uploads
type Search struct {
Endpoint string `json:"endpoint"`
Query string `json:"query"`
Verified bool `json:"verified"`
Nsfw bool `json:"nsfw"`
}
Search : admin search images
Source Files
¶
Click to show internal directories.
Click to hide internal directories.