Documentation ¶
Index ¶
- type OneDriveHandler
- func (h *OneDriveHandler) Address() string
- func (h *OneDriveHandler) BackupConfig() []byte
- func (h *OneDriveHandler) Cfg() config.Config
- func (h *OneDriveHandler) GlobalLimit() float64
- func (h *OneDriveHandler) GoogleAnalytics() string
- func (h *OneDriveHandler) IndexTpl() *template.Template
- func (h *OneDriveHandler) OneDriveCheckSync(path string) error
- func (h *OneDriveHandler) OneDriveGetFile(path string) (driveFile *api.DriveFile, ...)
- func (h *OneDriveHandler) OneDriveRefreshDownloadUrl(driveFile *api.DriveFile) error
- func (h *OneDriveHandler) OneDriveSyncCycle(ctx context.Context) error
- func (h *OneDriveHandler) OneDriveTokenRefresh(ctx context.Context) error
- func (h *OneDriveHandler) Router() string
- func (h *OneDriveHandler) Template() string
- func (h *OneDriveHandler) VisitorLimit() float64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OneDriveHandler ¶
type OneDriveHandler struct {
// contains filtered or unexported fields
}
func NewOneDriveHandler ¶
func NewOneDriveHandler(address, router, template, database, ga string, globalLimit, visitorLimit float64, cfg *config.Config) *OneDriveHandler
func (*OneDriveHandler) Address ¶
func (h *OneDriveHandler) Address() string
func (*OneDriveHandler) BackupConfig ¶
func (h *OneDriveHandler) BackupConfig() []byte
func (*OneDriveHandler) Cfg ¶
func (h *OneDriveHandler) Cfg() config.Config
func (*OneDriveHandler) GlobalLimit ¶
func (h *OneDriveHandler) GlobalLimit() float64
func (*OneDriveHandler) GoogleAnalytics ¶
func (h *OneDriveHandler) GoogleAnalytics() string
func (*OneDriveHandler) IndexTpl ¶
func (h *OneDriveHandler) IndexTpl() *template.Template
func (*OneDriveHandler) OneDriveCheckSync ¶
func (h *OneDriveHandler) OneDriveCheckSync(path string) error
func (*OneDriveHandler) OneDriveGetFile ¶
func (*OneDriveHandler) OneDriveRefreshDownloadUrl ¶
func (h *OneDriveHandler) OneDriveRefreshDownloadUrl(driveFile *api.DriveFile) error
func (*OneDriveHandler) OneDriveSyncCycle ¶
func (h *OneDriveHandler) OneDriveSyncCycle(ctx context.Context) error
func (*OneDriveHandler) OneDriveTokenRefresh ¶
func (h *OneDriveHandler) OneDriveTokenRefresh(ctx context.Context) error
func (*OneDriveHandler) Router ¶
func (h *OneDriveHandler) Router() string
func (*OneDriveHandler) Template ¶
func (h *OneDriveHandler) Template() string
func (*OneDriveHandler) VisitorLimit ¶
func (h *OneDriveHandler) VisitorLimit() float64
Click to show internal directories.
Click to hide internal directories.