github.com/inazumav/sing-box@v0.0.0-20230926072359-ab51429a14f1/inbound/tuic_stub.go (about)

     1  //go:build !with_quic
     2  
     3  package inbound
     4  
     5  import (
     6  	"context"
     7  
     8  	"github.com/inazumav/sing-box/adapter"
     9  	C "github.com/inazumav/sing-box/constant"
    10  	"github.com/inazumav/sing-box/log"
    11  	"github.com/inazumav/sing-box/option"
    12  )
    13  
    14  func NewTUIC(ctx context.Context, router adapter.Router, logger log.ContextLogger, tag string, options option.TUICInboundOptions) (adapter.Inbound, error) {
    15  	return nil, C.ErrQUICNotIncluded
    16  }