Mark deprecated features

This commit is contained in:
世界
2023-09-08 11:52:15 +08:00
parent 8cb41b5fa6
commit a1449ee40e
4 changed files with 17 additions and 2 deletions

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