Files
v2ray_simple/adv_grpc.go
e1732a364fed cc758dec66 全面修订代码;完成 grpcSimple包;使用 tag选择编译quic 和 grpc
grpcSimple包的服务端和客户端现在都已完成,且兼容v2ray等内核。
grpcSimple包 简洁、高效,更加科学。暂不支持multiMode。

若 grpc_full 给出,则使用grpc包,否则默认使用 grpcSimple包。
若 noquic给出,则不使用 quic,否则 默认使用 quic。

修复 ws early 失效问题;
2022-04-28 05:41:56 +08:00

9 lines
233 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//go:build grpc_full
package v2ray_simple
import _ "github.com/e1732a364fed/v2ray_simple/advLayer/grpc"
//默认使用 grpcSimple除非编译时 使用 grpc_full 这个 tag, 才会使用 grpc 包。
// go build -tags=grpc_full