sing-box/inbound/hysteria_stub.go

17 lines
422 B
Go
Raw Normal View History

//go:build !with_quic
package inbound
import (
"context"
"github.com/sagernet/sing-box/adapter"
2022-09-14 04:46:02 +00:00
I "github.com/sagernet/sing-box/include"
"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.HysteriaInboundOptions) (adapter.Inbound, error) {
2022-09-14 04:46:02 +00:00
return nil, I.ErrQUICNotIncluded
}