1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-08-06 19:44:01 +08:00
Files
kubo/config/routing.go
2020-04-06 17:32:07 -07:00

14 lines
378 B
Go

package config
// Routing defines configuration options for libp2p routing
type Routing struct {
// Type sets default daemon routing mode.
//
// Can be one of "dht", "dhtclient", "dhtserver", "none", or unset.
Type string
// PrivateType sets the routing mode for private networks. Can take the
// same values as Type and defaults to Type if unset.
PrivateType string
}