@cryptotaxi247 / kubo / commits / 698084a88

Update README.md

Henrique Dias committed Dec 11, 2019 at 18:03 UTC 698084a88cd98e39a565a2b755db114f6ecb5a76
1 file changed +15 -1
docs/examples/library-experimental-features/README.md
+15 -1
@@ -46,8 +46,22 @@ func createTempRepo(ctx context.Context) (string, error) {
46 return "", err
47 }
48
49 - // Customize configuration
49 + // https://github.com/ipfs/go-ipfs/blob/master/docs/experimental-features.md#ipfs-filestore
50 + cfg.Experimental.FilestoreEnabled = true
51 + // https://github.com/ipfs/go-ipfs/blob/master/docs/experimental-features.md#ipfs-urlstore
52 + cfg.Experimental.UrlstoreEnabled = true
53 + // https://github.com/ipfs/go-ipfs/blob/master/docs/experimental-features.md#directory-sharding--hamt
54 cfg.Experimental.ShardingEnabled = true
55 + // https://github.com/ipfs/go-ipfs/blob/master/docs/experimental-features.md#ipfs-p2p
56 + cfg.Experimental.Libp2pStreamMounting = true
57 + // https://github.com/ipfs/go-ipfs/blob/master/docs/experimental-features.md#p2p-http-proxy
58 + cfg.Experimental.P2pHttpProxy = true
59 + // https://github.com/ipfs/go-ipfs/blob/master/docs/experimental-features.md#quic
60 + cfg.Experimental.QUIC = true
61 + // https://github.com/ipfs/go-ipfs/blob/master/docs/experimental-features.md#tls-13-as-default-handshake-protocol
62 + cfg.Experimental.PreferTLS = true
63 + // https://github.com/ipfs/go-ipfs/blob/master/docs/experimental-features.md#strategic-providing
64 + cfg.Experimental.StrategicProviding = true
65
66 // Create the repo with the config
67 err = fsrepo.Init(repoPath, cfg)