Versions in this module Expand all Collapse all v1 v1.0.3 Feb 24, 2020 Changes in this version + const Action + const Preview + const PreviewDownload + func PreviewHtml(mimeType string) (string, bool) + func RouterFilePath(router string) string + func RouterStatic(router string) string + func UrlPath(u, router string) string + type DriveFileTemplate struct + ChildCount uint64 + DownloadUrl string + EnablePreview bool + MimeType string + ModifiedTime string + Name string + Path string + Size string + func FilesToTemplate(fs []*onedrive.DriveFile) []*DriveFileTemplate + func FormatFileToTemplate(d *onedrive.DriveFile) *DriveFileTemplate + type Mux struct + func NewMux(odh *handler.OneDriveHandler) *Mux + func (m *Mux) GetOneDriveFile(w http.ResponseWriter, r *http.Request) + func (m *Mux) Render(w http.ResponseWriter, data interface{}, tplHtml ...string) error + func (m *Mux) Run() error + func (m *Mux) Shutdown()