From e6f29fdadcc8df11ce18223c2d0c7d0ee7c0e783 Mon Sep 17 00:00:00 2001 From: Christophe de Carvalho Pereira Martins Date: Wed, 6 Jun 2018 14:54:51 +0200 Subject: [PATCH] add a link to options.go in the host example so reader can see all the supported configuration for the host constructor --- examples/libp2p-host/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/libp2p-host/README.md b/examples/libp2p-host/README.md index 4714e8f..8853205 100644 --- a/examples/libp2p-host/README.md +++ b/examples/libp2p-host/README.md @@ -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 -- GitLab