Documentation ¶
Index ¶
- Variables
- func AesEncrypt(data, key []byte) []byte
- func EncodeParam(v url.Values) string
- func PKCS7Padding(ciphertext []byte, blockSize int) []byte
- func Random(v string) string
- func RsaEncode(origData []byte, j_rsakey string, hex bool) string
- type Addition
- type Cloud189
- func (d *Cloud189) Config() driver.Config
- func (d *Cloud189) Copy(ctx context.Context, srcObj, dstDir model.Obj) error
- func (d *Cloud189) Drop(ctx context.Context) error
- func (d *Cloud189) GetAddition() driver.Additional
- func (d *Cloud189) Init(ctx context.Context, storage model.Storage) error
- func (d *Cloud189) Link(ctx context.Context, file model.Obj, args model.LinkArgs) (*model.Link, error)
- func (d *Cloud189) List(ctx context.Context, dir model.Obj, args model.ListArgs) ([]model.Obj, error)
- func (d *Cloud189) MakeDir(ctx context.Context, parentDir model.Obj, dirName string) error
- func (d *Cloud189) Move(ctx context.Context, srcObj, dstDir model.Obj) error
- func (d *Cloud189) Put(ctx context.Context, dstDir model.Obj, stream model.FileStreamer, ...) error
- func (d *Cloud189) Remove(ctx context.Context, obj model.Obj) error
- func (d *Cloud189) Rename(ctx context.Context, srcObj model.Obj, newName string) error
- type Down
- type DownResp
- type Error
- type File
- type Files
- type Folder
- type LoginResp
- type Part
- type Rsa
- type UploadUrlsResp
Constants ¶
This section is empty.
Variables ¶
View Source
var BI_RM = "0123456789abcdefghijklmnopqrstuvwxyz"
Functions ¶
func AesEncrypt ¶
func EncodeParam ¶
func PKCS7Padding ¶
Types ¶
type Cloud189 ¶
func (*Cloud189) GetAddition ¶
func (d *Cloud189) GetAddition() driver.Additional
type UploadUrlsResp ¶
Click to show internal directories.
Click to hide internal directories.