github.com/sagernet/sing-box@v1.9.0-rc.20/outbound/shadowsocksr.go (about) 1 //go:build with_shadowsocksr 2 3 package outbound 4 5 import ( 6 "context" 7 "os" 8 9 "github.com/sagernet/sing-box/adapter" 10 "github.com/sagernet/sing-box/log" 11 "github.com/sagernet/sing-box/option" 12 ) 13 14 var _ int = "ShadowsocksR is deprecated and removed in sing-box 1.6.0" 15 16 func NewShadowsocksR(ctx context.Context, router adapter.Router, logger log.ContextLogger, tag string, options option.ShadowsocksROutboundOptions) (adapter.Outbound, error) { 17 return nil, os.ErrInvalid 18 }