Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
698084a8
Unverified
Commit
698084a8
authored
Dec 11, 2019
by
Henrique Dias
Committed by
GitHub
Dec 11, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md
parent
3d976342
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletion
+15
-1
docs/examples/library-experimental-features/README.md
docs/examples/library-experimental-features/README.md
+15
-1
No files found.
docs/examples/library-experimental-features/README.md
View file @
698084a8
...
...
@@ -46,8 +46,22 @@ func createTempRepo(ctx context.Context) (string, error) {
return
""
,
err
}
// Customize configuration
// https://github.com/ipfs/go-ipfs/blob/master/docs/experimental-features.md#ipfs-filestore
cfg
.
Experimental
.
FilestoreEnabled
=
true
// https://github.com/ipfs/go-ipfs/blob/master/docs/experimental-features.md#ipfs-urlstore
cfg
.
Experimental
.
UrlstoreEnabled
=
true
// https://github.com/ipfs/go-ipfs/blob/master/docs/experimental-features.md#directory-sharding--hamt
cfg
.
Experimental
.
ShardingEnabled
=
true
// https://github.com/ipfs/go-ipfs/blob/master/docs/experimental-features.md#ipfs-p2p
cfg
.
Experimental
.
Libp2pStreamMounting
=
true
// https://github.com/ipfs/go-ipfs/blob/master/docs/experimental-features.md#p2p-http-proxy
cfg
.
Experimental
.
P2pHttpProxy
=
true
// https://github.com/ipfs/go-ipfs/blob/master/docs/experimental-features.md#quic
cfg
.
Experimental
.
QUIC
=
true
// https://github.com/ipfs/go-ipfs/blob/master/docs/experimental-features.md#tls-13-as-default-handshake-protocol
cfg
.
Experimental
.
PreferTLS
=
true
// https://github.com/ipfs/go-ipfs/blob/master/docs/experimental-features.md#strategic-providing
cfg
.
Experimental
.
StrategicProviding
=
true
// Create the repo with the config
err
=
fsrepo
.
Init
(
repoPath
,
cfg
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment