_115

package
v0.0.0-...-c590095 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Name = "115 Cloud"
View Source
var UserAgent = "" /* 146-byte string literal not displayed */

Functions

This section is empty.

Types

type Addition

type Addition struct {
	Cookie      string `json:"cookie"`
	QRCodeToken string `json:"qrcode_token"`
}

type Pan115

type Pan115 struct {
	Addition
	// contains filtered or unexported fields
}

func New

func New() *Pan115

func (*Pan115) Config

func (d *Pan115) Config() driver.Config

func (*Pan115) Copy

func (d *Pan115) Copy(ctx context.Context, srcObj, dstDir driver.AbstractDriverFile) error

func (*Pan115) Drop

func (d *Pan115) Drop(ctx context.Context) error

func (*Pan115) GetAddition

func (d *Pan115) GetAddition() driver.Additional

func (*Pan115) Init

func (d *Pan115) Init(ctx context.Context) error

func (*Pan115) List

func (*Pan115) MakeDir

func (d *Pan115) MakeDir(ctx context.Context, parentDir driver.AbstractDriverFile, dirName string) error

func (*Pan115) Move

func (d *Pan115) Move(ctx context.Context, srcObj, dstDir driver.AbstractDriverFile) error

func (*Pan115) Put

func (*Pan115) Remove

func (d *Pan115) Remove(ctx context.Context, obj driver.AbstractDriverFile) error

func (*Pan115) Rename

func (d *Pan115) Rename(ctx context.Context, srcObj driver.AbstractDriverFile, newName string) error

Jump to

Keyboard shortcuts

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