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 AppConf
- 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) 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 EncryptConf
- 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 AppConf ¶ added in v3.17.0
type AppConf struct { Data struct { AccountType string `json:"accountType"` AgreementCheck string `json:"agreementCheck"` AppKey string `json:"appKey"` ClientType int `json:"clientType"` IsOauth2 bool `json:"isOauth2"` LoginSort string `json:"loginSort"` MailSuffix string `json:"mailSuffix"` PageKey string `json:"pageKey"` ParamId string `json:"paramId"` RegReturnUrl string `json:"regReturnUrl"` ReqId string `json:"reqId"` ReturnUrl string `json:"returnUrl"` ShowFeedback string `json:"showFeedback"` ShowPwSaveName string `json:"showPwSaveName"` ShowQrSaveName string `json:"showQrSaveName"` ShowSmsSaveName string `json:"showSmsSaveName"` Sso string `json:"sso"` } `json:"data"` Msg string `json:"msg"` Result string `json:"result"` }
type Cloud189 ¶
func (*Cloud189) GetAddition ¶
func (d *Cloud189) GetAddition() driver.Additional
type EncryptConf ¶ added in v3.17.0
type UploadUrlsResp ¶
Click to show internal directories.
Click to hide internal directories.