rename repo
This commit is contained in:
@@ -8,9 +8,9 @@ This tool provides a secure and efficient reseed server for the I2P network. The
|
|||||||
If you have Go installed you can download, build, and install this tool with `go get`
|
If you have Go installed you can download, build, and install this tool with `go get`
|
||||||
|
|
||||||
```
|
```
|
||||||
$ go get github.com/MDrollette/go-i2p
|
$ go get github.com/MDrollette/i2p-tools
|
||||||
...
|
...
|
||||||
$ go-i2p -h
|
$ i2p-tools -h
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -21,7 +21,7 @@ Otherwise, a binary for your OS can be download from http://matt.i2p/
|
|||||||
If this is your first time running a reseed server (ie. you don't have any existing keys). You can simply run the following command and follow the prompts to create the appropriate keys and certificates.
|
If this is your first time running a reseed server (ie. you don't have any existing keys). You can simply run the following command and follow the prompts to create the appropriate keys and certificates.
|
||||||
|
|
||||||
```
|
```
|
||||||
$ go-i2p --signer=youremail@mail.i2p --tlsHost=your-server-name.tld --netdb=/var/lib/i2p/i2p-config/netDb
|
$ i2p-tools --signer=youremail@mail.i2p --tlsHost=your-server-name.tld --netdb=/var/lib/i2p/i2p-config/netDb
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import (
|
|||||||
"net"
|
"net"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/MDrollette/go-i2p/reseed"
|
"github.com/MDrollette/i2p-tools/reseed"
|
||||||
"github.com/codegangsta/cli"
|
"github.com/codegangsta/cli"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import (
|
|||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
"github.com/MDrollette/go-i2p/reseed"
|
"github.com/MDrollette/i2p-tools/reseed"
|
||||||
"github.com/codegangsta/cli"
|
"github.com/codegangsta/cli"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -11,8 +11,8 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/MDrollette/go-i2p/reseed"
|
"github.com/MDrollette/i2p-tools/reseed"
|
||||||
"github.com/MDrollette/go-i2p/su3"
|
"github.com/MDrollette/i2p-tools/su3"
|
||||||
)
|
)
|
||||||
|
|
||||||
func loadPrivateKey(path string) (*rsa.PrivateKey, error) {
|
func loadPrivateKey(path string) (*rsa.PrivateKey, error) {
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
|
|
||||||
"github.com/MDrollette/go-i2p/reseed"
|
"github.com/MDrollette/i2p-tools/reseed"
|
||||||
"github.com/MDrollette/go-i2p/su3"
|
"github.com/MDrollette/i2p-tools/su3"
|
||||||
"github.com/codegangsta/cli"
|
"github.com/codegangsta/cli"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ import (
|
|||||||
"net/http"
|
"net/http"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"github.com/MDrollette/go-i2p/reseed"
|
"github.com/MDrollette/i2p-tools/reseed"
|
||||||
"github.com/MDrollette/go-i2p/su3"
|
"github.com/MDrollette/i2p-tools/su3"
|
||||||
"github.com/codegangsta/cli"
|
"github.com/codegangsta/cli"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
4
main.go
4
main.go
@@ -4,7 +4,7 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"runtime"
|
"runtime"
|
||||||
|
|
||||||
"github.com/MDrollette/go-i2p/cmd"
|
"github.com/MDrollette/i2p-tools/cmd"
|
||||||
"github.com/codegangsta/cli"
|
"github.com/codegangsta/cli"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -13,7 +13,7 @@ func main() {
|
|||||||
runtime.GOMAXPROCS(runtime.NumCPU() / 2)
|
runtime.GOMAXPROCS(runtime.NumCPU() / 2)
|
||||||
|
|
||||||
app := cli.NewApp()
|
app := cli.NewApp()
|
||||||
app.Name = "go-i2p"
|
app.Name = "i2p-tools"
|
||||||
app.Version = "0.1.0"
|
app.Version = "0.1.0"
|
||||||
app.Usage = "I2P tools and reseed server"
|
app.Usage = "I2P tools and reseed server"
|
||||||
app.Author = "Matt Drollette"
|
app.Author = "Matt Drollette"
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ import (
|
|||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/MDrollette/go-i2p/su3"
|
"github.com/MDrollette/i2p-tools/su3"
|
||||||
)
|
)
|
||||||
|
|
||||||
type routerInfo struct {
|
type routerInfo struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user