sing-box/outbound/shadowsocksr_stub.go

17 lines
492 B
Go
Raw Permalink Normal View History

2022-09-12 09:30:54 +00:00
//go:build !with_shadowsocksr
package outbound
import (
"context"
"github.com/sagernet/sing-box/adapter"
"github.com/sagernet/sing-box/log"
"github.com/sagernet/sing-box/option"
E "github.com/sagernet/sing/common/exceptions"
)
func NewShadowsocksR(ctx context.Context, router adapter.Router, logger log.ContextLogger, tag string, options option.ShadowsocksROutboundOptions) (adapter.Outbound, error) {
2023-10-25 04:00:00 +00:00
return nil, E.New("ShadowsocksR is deprecated and removed in sing-box 1.6.0")
2022-09-12 09:30:54 +00:00
}