Skip to content

Commit

Permalink
go-ipfs-config: Merge pull request ipfs#38 from ipfs/features/add-pro…
Browse files Browse the repository at this point in the history
…vider-config

Add very basic (possibly temporary) Provider configs
  • Loading branch information
Stebalien committed Jul 9, 2019
2 parents a7d7f22 + 86abf1f commit 3692ba8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ type Config struct {
Swarm SwarmConfig
Pubsub PubsubConfig

Provider Provider
Reprovider Reprovider
Experimental Experiments
}
Expand Down
5 changes: 5 additions & 0 deletions config/provider.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package config

type Provider struct {
Strategy string // Which keys to announce
}

0 comments on commit 3692ba8

Please sign in to comment.