mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-28 13:57:52 +08:00
go-fmt
This commit is contained in:
parent
378f9a1030
commit
9bc34cbe1b
@ -74,10 +74,10 @@ const (
|
||||
unencryptTransportKwd = "disable-transport-encryption"
|
||||
unrestrictedAPIAccessKwd = "unrestricted-api"
|
||||
enablePubSubKwd = "enable-pubsub-experiment"
|
||||
enableIPNSPubSubKwd = "enable-namesys-pubsub"
|
||||
enableMultiplexKwd = "enable-mplex-experiment"
|
||||
agentVersionSuffix = "agent-version-suffix"
|
||||
providerFreshStart = "provider-fresh-start"
|
||||
enableIPNSPubSubKwd = "enable-namesys-pubsub"
|
||||
enableMultiplexKwd = "enable-mplex-experiment"
|
||||
agentVersionSuffix = "agent-version-suffix"
|
||||
providerFreshStart = "provider-fresh-start"
|
||||
// apiAddrKwd = "address-api"
|
||||
// swarmAddrKwd = "address-swarm".
|
||||
)
|
||||
@ -414,8 +414,8 @@ func daemonFunc(req *cmds.Request, re cmds.ResponseEmitter, env cmds.Environment
|
||||
Online: !offline,
|
||||
DisableEncryptedConnections: unencrypted,
|
||||
ExtraOpts: map[string]bool{
|
||||
"pubsub": pubsub,
|
||||
"ipnsps": ipnsps,
|
||||
"pubsub": pubsub,
|
||||
"ipnsps": ipnsps,
|
||||
"providerFreshStart": freshStart,
|
||||
},
|
||||
// TODO(Kubuxu): refactor Online vs Offline by adding Permanent vs Ephemeral
|
||||
|
||||
Loading…
Reference in New Issue
Block a user