mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 18:37:45 +08:00
* enable pubsub and namesys pubsub to be enable via config * rename Ipns key, switch type to Flag * omit the fields if empty
15 lines
346 B
Go
15 lines
346 B
Go
package config
|
|
|
|
type PubsubConfig struct {
|
|
// Router can be either floodsub (legacy) or gossipsub (new and
|
|
// backwards compatible).
|
|
Router string
|
|
|
|
// DisableSigning disables message signing. Message signing is *enabled*
|
|
// by default.
|
|
DisableSigning bool
|
|
|
|
// Enable pubsub (--enable-pubsub-experiment)
|
|
Enabled Flag `json:",omitempty"`
|
|
}
|