clouddisk

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CloudDiskOnDel = iota + 1
	CloudDiskDelErr
	CloudDiskDelSuccess
)

Variables

This section is empty.

Functions

func DelArea added in v1.9.1

func DelArea(areaID uint64) (err error)

Types

type DelAreaStatus added in v1.9.1

type DelAreaStatus struct {
	RemoveStatus int `json:"remove_status"`
}

type DelCloudDiskResp added in v1.9.1

type DelCloudDiskResp struct {
	Status int           `json:"status"`
	Reason string        `json:"reason"`
	Data   DelAreaStatus `json:"data"`
}

func DelAreaCloudDisk

func DelAreaCloudDisk(c *gin.Context, isDelCloudDiskFile bool, areaID uint64) (result DelCloudDiskResp, err error)

DelAreaCloudDisk 删除家庭的网盘资源 isDelCloudDiskFile 是表示是否删除网盘文件,不管删不删除文件,一定会删除网盘记录

func DelCloudDisk

func DelCloudDisk(accessToken string, isDelCloudDiskFile bool, areaID uint64) (result DelCloudDiskResp, err error)

DelCloudDisk 删除网盘资源

Jump to

Keyboard shortcuts

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