@@ -329,16 +329,32 @@ func (c *StatsConfig) Build() (*stats.Config, error) {
329
329
}
330
330
331
331
type Config struct {
332
- Port uint16 `json:"port"` // Port of this Point server. Deprecated.
332
+ // Port of this Point server.
333
+ // Deprecated: Port exists for historical compatibility
334
+ // and should not be used.
335
+ Port uint16 `json:"port"`
336
+
337
+ // Deprecated: InboundConfig exists for historical compatibility
338
+ // and should not be used.
339
+ InboundConfig * InboundDetourConfig `json:"inbound"`
340
+
341
+ // Deprecated: OutboundConfig exists for historical compatibility
342
+ // and should not be used.
343
+ OutboundConfig * OutboundDetourConfig `json:"outbound"`
344
+
345
+ // Deprecated: InboundDetours exists for historical compatibility
346
+ // and should not be used.
347
+ InboundDetours []InboundDetourConfig `json:"inboundDetour"`
348
+
349
+ // Deprecated: OutboundDetours exists for historical compatibility
350
+ // and should not be used.
351
+ OutboundDetours []OutboundDetourConfig `json:"outboundDetour"`
352
+
333
353
LogConfig * LogConfig `json:"log"`
334
354
RouterConfig * RouterConfig `json:"routing"`
335
355
DNSConfig * DNSConfig `json:"dns"`
336
356
InboundConfigs []InboundDetourConfig `json:"inbounds"`
337
357
OutboundConfigs []OutboundDetourConfig `json:"outbounds"`
338
- InboundConfig * InboundDetourConfig `json:"inbound"` // Deprecated.
339
- OutboundConfig * OutboundDetourConfig `json:"outbound"` // Deprecated.
340
- InboundDetours []InboundDetourConfig `json:"inboundDetour"` // Deprecated.
341
- OutboundDetours []OutboundDetourConfig `json:"outboundDetour"` // Deprecated.
342
358
Transport * TransportConfig `json:"transport"`
343
359
Policy * PolicyConfig `json:"policy"`
344
360
API * APIConfig `json:"api"`
0 commit comments