Code Monkey home page Code Monkey logo

argo's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

argo's Issues

The parameter at 1 has wrong type.

method AddTorrent use options got The parameter at 1 has wrong type.

I want to add bt-tracker

I tried bt-tracker:xxx and rpc.Option{"bt-tracker":"xxx"} , but it still does not work

btName := "test.torrent"
options := "bt-tracker:xxx"
// options := rpc.Option{"bt-tracker":"xxx"}
if err := rpc.AddTorrent(btName, options); err != nil {
    fmt.PrintIn(err)
}

The parameter at 1 has wrong type.

AddTorrent func doesn't work.

Hi @zyxar =)

gid, err = dm.ARIA2Connection.AddTorrent(*torrentfile) if err != nil { log.Fatalf("Torrent err: %v", err) } log.Printf("GID: %s , gid)

In *_test.go this function has not been tested.

Should I make a Pull Request of my fork?

Hi,

I need to control an aria2 daemon from go and I found your library.
I found it quite neat and I wanted to improve it (to improve my "go-writing" skills ^^).

I took the liberty of creating a fork and reorganizing it quite heavily : https://github.com/oliverpool/argo (I tried to make a nice godoc page, with a complete example : https://godoc.org/github.com/oliverpool/argo).

I you want, I can make a PR to merge it into your library (it will break all compatibility) or we can let them live separately (You can see diff : master...oliverpool:master).

I did not implement the system.multicall RPC method yet (because it is quite complicated). But maybe I could implement it using a special Caller which could gather them and send them all at the same time.

How do I get notifications sent by websocket?

When I use typescript to connect to aria2 through websocket method, I can receive messages such as aria2.onDownloadStart actively sent by aria2 every time. In golang, my own program can only receive this kind of information once, and then never again. Using this package, I can't even receive such information once.I have filled in the correct value of the notifier parameter. I went to analyze the source code and found that the call.go 180 lines of code to handle this kind of information were found. It seems that there is no problem, but I still can't receive it. If you can, can you write a sample program? Thank you very much.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.