shadowsocksr.go 469 B

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