mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 18:37:45 +08:00
go-ipfs-config: feat: add a flag to enable the hole punching service (#155)
* add a flag to enable the hole punching service * chore: omitempty EnableHolePunching Co-authored-by: Marcin Rataj <lidel@lidel.org>
This commit is contained in:
parent
1b4502c77f
commit
7fe155c287
@ -35,6 +35,9 @@ type SwarmConfig struct {
|
||||
// When enabled, node will provide a limited relay service to other peers.
|
||||
RelayService RelayService
|
||||
|
||||
// EnableHolePunching enables the hole punching service.
|
||||
EnableHolePunching Flag `json:",omitempty"`
|
||||
|
||||
// Transports contains flags to enable/disable libp2p transports.
|
||||
Transports Transports
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user