Help us shape the future of Go! Take the 2026 Go Developer Survey

115driver

module
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2025 License: MIT

README

115driver

🖴 A 115 cloud driver package.

Goreport Release Reference License Downloads


Features

  • Login
    • Import credential from cookies
    • Login via QRCode
    • Get signed-in user information
  • File
    • List
    • Rename
    • Move
    • Copy
    • Delete
    • Make Directory
    • Download
    • Upload
    • Rapid Upload
    • Search
    • Get Information by ID
    • Stat File
    • Download by share code
    • Offline Download
  • Recycle Bin
    • List
    • Revert
    • Clean

Example

package main

import (
    "github.com/SheltonZhu/115driver/pkg/driver"
    "log"
)

func main() {
    cr := &driver.Credential{
        UID: "xxx",
        CID: "xxx",
        SEID: "xxx",
        KID: "xxx",
    }
    // or err := cr.FromCookie(cookieStr)

    client := driver.Defalut().ImportCredential(cr)
    if err := client.LoginCheck(); err != nil {
        log.Fatalf("login error: %s", err)
    }
}

More examples can be found in reference.

Contributors

SheltonZhu
SheltonZhu
xhofe
xhofe
Ovear
Ovear
power721
power721

License

MIT

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL