Documentation
¶
Index ¶
- type Addition
- type Characteristic
- type HostsResp
- type ListResp
- type LyricObj
- type NeteaseMusic
- func (d *NeteaseMusic) Config() driver.Config
- func (d *NeteaseMusic) Copy(ctx context.Context, srcObj, dstDir model.Obj) error
- func (d *NeteaseMusic) Drop(ctx context.Context) error
- func (d *NeteaseMusic) Get(ctx context.Context, path string) (model.Obj, error)
- func (d *NeteaseMusic) GetAddition() driver.Additional
- func (d *NeteaseMusic) Init(ctx context.Context) error
- func (d *NeteaseMusic) Link(ctx context.Context, file model.Obj, args model.LinkArgs) (*model.Link, error)
- func (d *NeteaseMusic) List(ctx context.Context, dir model.Obj, args model.ListArgs) ([]model.Obj, error)
- func (d *NeteaseMusic) MakeDir(ctx context.Context, parentDir model.Obj, dirName string) error
- func (d *NeteaseMusic) Move(ctx context.Context, srcObj, dstDir model.Obj) error
- func (d *NeteaseMusic) Put(ctx context.Context, dstDir model.Obj, stream model.FileStreamer, ...) error
- func (d *NeteaseMusic) Remove(ctx context.Context, obj model.Obj) error
- func (d *NeteaseMusic) Rename(ctx context.Context, srcObj model.Obj, newName string) error
- type ReqOption
- type SongResp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Addition ¶
type Addition struct {
Cookie string `json:"cookie" type:"text" required:"true" help:""`
SongLimit uint64 `json:"song_limit" default:"200" type:"number" help:"only get 200 songs by default"`
}
func (Addition) GetRootPath ¶ added in v4.1.9
type Characteristic ¶
type ListResp ¶
type ListResp struct {
Size int64 `json:"size"`
MaxSize int64 `json:"maxSize"`
Data []struct {
AddTime int64 `json:"addTime"`
FileName string `json:"fileName"`
FileSize int64 `json:"fileSize"`
SongId int64 `json:"songId"`
SimpleSong struct {
Al struct {
PicUrl string `json:"picUrl"`
} `json:"al"`
} `json:"simpleSong"`
} `json:"data"`
}
type NeteaseMusic ¶
func (*NeteaseMusic) Config ¶
func (d *NeteaseMusic) Config() driver.Config
func (*NeteaseMusic) GetAddition ¶
func (d *NeteaseMusic) GetAddition() driver.Additional
func (*NeteaseMusic) Put ¶
func (d *NeteaseMusic) Put(ctx context.Context, dstDir model.Obj, stream model.FileStreamer, up driver.UpdateProgress) error
Click to show internal directories.
Click to hide internal directories.