mirror of
https://github.com/OpenListTeam/OpenList.git
synced 2025-11-25 11:29:29 +08:00
* Enable blank issue * chore(README.md): update docs (temporally) * Update FUNDING.yml * chore: purge README.md * chore: change module name to OpenListTeam/OpenList * fix: fix link errors * chore: remove v3 in module name * fix: resolve some conficts * fix: resolve conficts * docs: update with latest file --------- Co-authored-by: ShenLin <773933146@qq.com> Co-authored-by: Hantong Chen <cxwdyx620@gmail.com> Co-authored-by: joshua <i@joshua.su> Co-authored-by: Hantong Chen <70561268+cxw620@users.noreply.github.com>
24 lines
654 B
Go
24 lines
654 B
Go
package _123Link
|
|
|
|
import (
|
|
"github.com/OpenListTeam/OpenList/internal/driver"
|
|
"github.com/OpenListTeam/OpenList/internal/op"
|
|
)
|
|
|
|
type Addition struct {
|
|
OriginURLs string `json:"origin_urls" type:"text" required:"true" default:"https://vip.123pan.com/29/folder/file.mp3" help:"structure:FolderName:\n [FileSize:][Modified:]Url"`
|
|
PrivateKey string `json:"private_key"`
|
|
UID uint64 `json:"uid" type:"number"`
|
|
ValidDuration int64 `json:"valid_duration" type:"number" default:"30" help:"minutes"`
|
|
}
|
|
|
|
var config = driver.Config{
|
|
Name: "123PanLink",
|
|
}
|
|
|
|
func init() {
|
|
op.RegisterDriver(func() driver.Driver {
|
|
return &Pan123Link{}
|
|
})
|
|
}
|