Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.

feat: pubsub and ipns pubsub flags #145

Merged
merged 3 commits into from
Oct 27, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions ipns.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@ type Ipns struct {
RecordLifetime string

ResolveCacheSize int

// Enable namesys pubsub (--enable-namesys-pubsub)
UsePubsub Flag `json:",omitempty"`
}
3 changes: 3 additions & 0 deletions pubsub.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,7 @@ type PubsubConfig struct {
// DisableSigning disables message signing. Message signing is *enabled*
// by default.
DisableSigning bool

// Enable pubsub (--enable-pubsub-experiment)
Enabled Flag `json:",omitempty"`
}