Documentation
¶
Index ¶
Constants ¶
View Source
const ( Action = "a" Preview = "p" PreviewDownload = "previewdownload" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DriveFileTemplate ¶
type DriveFileTemplate struct {
Name string `json:"name"`
Size string `json:"size"`
Path string `json:"path"`
ModifiedTime string `json:"modifiedTime"`
DownloadUrl string `json:"downloadUrl"`
MimeType string `json:"mimeType"`
ChildCount uint64 `json:"childCount"`
EnablePreview bool `json:"enablePreview"`
}
func FilesToTemplate ¶
func FilesToTemplate(fs []*api.DriveFile) []*DriveFileTemplate
func FormatFileToTemplate ¶
func FormatFileToTemplate(d *api.DriveFile) *DriveFileTemplate
Source Files
¶
- mux.go
- onedrive.go
- util.go
Click to show internal directories.
Click to hide internal directories.