Documentation
¶
Index ¶
Constants ¶
View Source
const (
// DeviceCookieName represents the name of the cookie used to store the device identifier
DeviceCookieName = "__dID"
)
Variables ¶
This section is empty.
Functions ¶
func ConfigureWebAPI ¶
func ConfigureWebAPI(config app.HTTPConfig, libConfig app.LibraryConfig) *http.Server
ConfigureWebAPI configures all the backend API of the service
Types ¶
type DirectoryResource ¶
DirectoryResource represents a folder or collection of files
type DownloadHistoryResource ¶
DownloadHistoryResource represents a single download instance
type ImageResource ¶
ImageResource represents a single Image Resource
type ListResource ¶
type ListResource struct {
Directories []DirectoryResource
Images []ImageResource
}
ListResource represents the data sent on a list call
type RequestLogger ¶
type RequestLogger struct {
}
RequestLogger is a simple io.Writer that allows requests to be logged
type RootResource ¶
RootResource represents the successful response to a "/access" API
Click to show internal directories.
Click to hide internal directories.