2022-08-19 07:42:57 +00:00
|
|
|
//go:build !with_quic
|
|
|
|
|
|
|
|
package inbound
|
|
|
|
|
|
|
|
import (
|
|
|
|
"context"
|
|
|
|
|
|
|
|
"github.com/sagernet/sing-box/adapter"
|
2022-09-26 11:37:06 +00:00
|
|
|
C "github.com/sagernet/sing-box/constant"
|
2022-08-19 07:42:57 +00:00
|
|
|
"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-26 11:37:06 +00:00
|
|
|
return nil, C.ErrQUICNotIncluded
|
2022-08-19 07:42:57 +00:00
|
|
|
}
|
2023-08-31 12:07:32 +00:00
|
|
|
|
|
|
|
func NewHysteria2(ctx context.Context, router adapter.Router, logger log.ContextLogger, tag string, options option.Hysteria2InboundOptions) (adapter.Inbound, error) {
|
|
|
|
return nil, C.ErrQUICNotIncluded
|
|
|
|
}
|