2022-09-12 17:30:54 +08:00
|
|
|
//go:build with_shadowsocksr
|
|
|
|
|
|
|
|
package outbound
|
|
|
|
|
|
|
|
import (
|
|
|
|
"context"
|
2023-10-25 12:00:00 +08:00
|
|
|
"os"
|
2022-09-12 17:30:54 +08:00
|
|
|
|
|
|
|
"github.com/sagernet/sing-box/adapter"
|
|
|
|
"github.com/sagernet/sing-box/log"
|
|
|
|
"github.com/sagernet/sing-box/option"
|
|
|
|
)
|
|
|
|
|
2023-10-25 12:00:00 +08:00
|
|
|
var _ int = "ShadowsocksR is deprecated and removed in sing-box 1.6.0"
|
2022-09-14 21:26:35 +08:00
|
|
|
|
2023-10-25 12:00:00 +08:00
|
|
|
func NewShadowsocksR(ctx context.Context, router adapter.Router, logger log.ContextLogger, tag string, options option.ShadowsocksROutboundOptions) (adapter.Outbound, error) {
|
|
|
|
return nil, os.ErrInvalid
|
2022-09-14 21:26:35 +08:00
|
|
|
}
|