master
go 16 lines 703 Bytes
Raw
1 package config
2
3 // Provider configuration describes how NEW CIDs are announced the moment they are created.
4 // For periodical reprovide configuration, see Provide.*
5 //
6 // Deprecated: use Provide instead. This will be removed in a future release.
7 type Provider struct {
8 // Deprecated: use Provide.Enabled instead. This will be removed in a future release.
9 Enabled Flag `json:",omitempty"`
10
11 // Deprecated: unused, you are likely looking for Provide.Strategy instead. This will be removed in a future release.
12 Strategy *OptionalString `json:",omitempty"`
13
14 // Deprecated: use Provide.DHT.MaxWorkers instead. This will be removed in a future release.
15 WorkerCount *OptionalInteger `json:",omitempty"`
16 }