Unverified Commit e6f29fda authored by Christophe de Carvalho Pereira Martins's avatar Christophe de Carvalho Pereira Martins
Browse files

add a link to options.go in the host example

so reader can see all the supported configuration for the
host constructor
parent f842b556
......@@ -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