Versions in this module Expand all Collapse all v3 v3.35.0 May 23, 2024 v3.34.0 May 2, 2024 v3.33.0 Mar 25, 2024 v3.32.0 Mar 2, 2024 v3.31.0 Feb 23, 2024 v3.30.0 Jan 5, 2024 v3.29.1 Nov 25, 2023 v3.29.0 Nov 24, 2023 Changes in this version + func CookiesToString(cookies []*http.Cookie) string + func EncryptByAES(message, key string) (string, error) + type Addition struct + Bbsid string + Cookie string + Password string + UserName string + type ChaoXing struct + func (d *ChaoXing) Config() driver.Config + func (d *ChaoXing) Copy(ctx context.Context, srcObj, dstDir model.Obj) error + func (d *ChaoXing) Drop(ctx context.Context) error + func (d *ChaoXing) GetAddition() driver.Additional + func (d *ChaoXing) GetFiles(parent string) ([]File, error) + func (d *ChaoXing) Init(ctx context.Context) error + func (d *ChaoXing) Link(ctx context.Context, file model.Obj, args model.LinkArgs) (*model.Link, error) + func (d *ChaoXing) List(ctx context.Context, dir model.Obj, args model.ListArgs) ([]model.Obj, error) + func (d *ChaoXing) Login() (string, error) + func (d *ChaoXing) MakeDir(ctx context.Context, parentDir model.Obj, dirName string) error + func (d *ChaoXing) Move(ctx context.Context, srcObj, dstDir model.Obj) error + func (d *ChaoXing) Put(ctx context.Context, dstDir model.Obj, stream model.FileStreamer, ...) error + func (d *ChaoXing) Remove(ctx context.Context, obj model.Obj) error + func (d *ChaoXing) Rename(ctx context.Context, srcObj model.Obj, newName string) error + type Conf struct + DowloadApi string + type DownResp struct + Download string + Duration int + FileStatus string + Msg string + Status bool + URL string + type File struct + Cataid int + Cfid int + Content struct{ ... } + CreatorID int + DesID string + ID int + Inserttime int64 + Key string + Norder int + OwnerID int + OwnerType int + Path string + Rid int + Status int + Topsign int + type ListFileResp struct + List []File + Msg string + Result int + Status bool + UserAuth UserAuth + type Resp struct + Result int + type UploadDataRsp struct + Msg struct{ ... } + Result int + type UploadDoneParam struct + Cataid string + Key string + Param struct{ ... } + type UploadFileDataRsp struct + Crc string + Data struct{ ... } + Msg string + ObjectID string + Puid int + Resid int64 + Result bool + type UserAuth struct + GroupAuth struct{ ... } + OperationAuth struct{ ... }