mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-12-27 19:45:37 +08:00
14 lines
377 B
Go
14 lines
377 B
Go
//go:build !with_ech
|
|
|
|
package tls
|
|
|
|
import (
|
|
"github.com/sagernet/sing-box/adapter"
|
|
"github.com/sagernet/sing-box/option"
|
|
E "github.com/sagernet/sing/common/exceptions"
|
|
)
|
|
|
|
func NewECHClient(router adapter.Router, serverAddress string, options option.OutboundTLSOptions) (Config, error) {
|
|
return nil, E.New(`ECH is not included in this build, rebuild with -tags with_ech`)
|
|
}
|