Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoogleDriveStorage ¶
type MyGoogleDriveClient ¶
type MyGoogleDriveClient struct {
// contains filtered or unexported fields
}
func NewGoogleDriveStorage ¶
func NewGoogleDriveStorage(gds *GoogleDriveStorage) (*MyGoogleDriveClient, error)
NewGoogleDriveStorage creates a new MyGoogleDriveClient instance
func (*MyGoogleDriveClient) GetBackupPath ¶
func (g *MyGoogleDriveClient) GetBackupPath(outName string) (string, error)
GetBackupPath returns the backup path for Google Drive
func (*MyGoogleDriveClient) WriteBackup ¶
func (g *MyGoogleDriveClient) WriteBackup(data []byte, resource string) error
WriteBackup writes the backup data to Google Drive
Click to show internal directories.
Click to hide internal directories.