Xray-core/core/proto.go

14 lines
621 B
Go
Raw Permalink Normal View History

2020-11-25 13:01:53 +02:00
package core
import "path/filepath"
//go:generate go install -v google.golang.org/protobuf/cmd/protoc-gen-go
//go:generate go install -v google.golang.org/grpc/cmd/protoc-gen-go-grpc
2020-12-10 05:52:05 +02:00
//go:generate go get -v -u github.com/gogo/protobuf/protoc-gen-gofast
2020-11-25 13:01:53 +02:00
//go:generate go install -v github.com/gogo/protobuf/protoc-gen-gofast
2020-12-10 05:52:05 +02:00
//go:generate go run ../infra/vprotogen/main.go -pwd ./..
2020-11-25 13:01:53 +02:00
// ProtoFilesUsingProtocGenGoFast is the map of Proto files
// that use `protoc-gen-gofast` to generate pb.go files
var ProtoFilesUsingProtocGenGoFast = map[string]bool{filepath.Join("proxy", "vless", "encoding", "addons.proto"): true}