Unverified Commit c5dbe224 authored by bigs's avatar bigs Committed by GitHub
Browse files

Merge pull request #349 from zaibon/master

add a link to options.go in the host example
parents 67729bdc e6f29fda
......@@ -30,7 +30,9 @@ if err != nil {
fmt.Printf("Hello World, my hosts ID is %s\n", h.ID())
```
If you want more control over the configuration, you can specify some options to the constructor. In this snippet we generate our own ID and specified on which address we want to listen:
If you want more control over the configuration, you can specify some options to the constructor. For a full list of all the configuration supported by the constructor see: [options.go](https://github.com/libp2p/go-libp2p/blob/master/options.go)
In this snippet we generate our own ID and specified on which address we want to listen:
```go
// Set your own keypair
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment