sing-box/outbound/hysteria_stub.go

17 lines
426 B
Go
Raw Normal View History

//go:build !with_quic
package outbound
import (
"context"
"github.com/sagernet/sing-box/adapter"
2022-08-22 21:20:05 +08:00
C "github.com/sagernet/sing-box/constant"
"github.com/sagernet/sing-box/log"
"github.com/sagernet/sing-box/option"
)
func NewHysteria(ctx context.Context, router adapter.Router, logger log.ContextLogger, tag string, options option.HysteriaOutboundOptions) (adapter.Outbound, error) {
2022-08-22 21:20:05 +08:00
return nil, C.ErrQUICNotIncluded
}