handler

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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 (h *OneDriveHandler) OneDriveGetFile(path string) (driveFile *api.DriveFile, driveFileChildren, driveFolderChildren []*api.DriveFile, err error)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL