hysteria_stub.go 426 B

12345678910111213141516
  1. //go:build !with_quic
  2. package outbound
  3. import (
  4. "context"
  5. "github.com/sagernet/sing-box/adapter"
  6. C "github.com/sagernet/sing-box/constant"
  7. "github.com/sagernet/sing-box/log"
  8. "github.com/sagernet/sing-box/option"
  9. )
  10. func NewHysteria(ctx context.Context, router adapter.Router, logger log.ContextLogger, tag string, options option.HysteriaOutboundOptions) (adapter.Outbound, error) {
  11. return nil, C.ErrQUICNotIncluded
  12. }