Mark deprecated features

This commit is contained in:
世界 committed 2023-09-12 13:26:23 +08:00
1 parent 8cb41b5fa6
commit a1449ee40e
4 files changed
+17 -2

No files matched your search

+1
View File
@@ -37,6 +37,7 @@ type ShadowsocksR struct {
}
func NewShadowsocksR(ctx context.Context, router adapter.Router, logger log.ContextLogger, tag string, options option.ShadowsocksROutboundOptions) (*ShadowsocksR, error) {
logger.Warn("ShadowsocksR is deprecated, see https://sing-box.sagernet.org/deprecated")
outboundDialer, err := dialer.New(router, options.DialerOptions)
if err != nil {
return nil, err