Skip to content

Commit fda7020

Browse files
authored
go-ipfs-config: Merge pull request #3 from ipfs/feat/pubsub
Add pubsub configuration options
2 parents 512b4d3 + 212b72f commit fda7020

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

config/config.go

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ type Config struct {
2525
Gateway Gateway // local node's gateway server options
2626
API API // local node's API settings
2727
Swarm SwarmConfig
28+
Pubsub PubsubConfig
2829

2930
Reprovider Reprovider
3031
Experimental Experiments

config/pubsub.go

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
package config
2+
3+
type PubsubConfig struct {
4+
Router string
5+
}

0 commit comments

Comments
 (0)