JaskaranSM / aria2go

Go bindings for libaria2.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Aria2go

Go bindings for libaria2.

Usage

  • If you are using go module, add the flowing:
required (
	"github.com/coolerfall/aria2go"
)

or you can just use:

$ go get github.com/coolerfall/aria2go
  • Prepare libaria2, be sure you have installed gcc:
$ cd path/to/aria2go
$ ./prepare.sh

or if you want to compile to arm, be sure you have installed gnueabihf cross compiler:

$ ./prepare-arm.sh
  • Now you can check the example to run.

License

Copyright (C) 2019 Vincent Cheung (coolingfall@gmail.com)

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

Go bindings for libaria2.

License:Apache License 2.0


Languages

Language:Go 46.0%Language:C++ 27.4%Language:Shell 22.0%Language:C 4.5%