github.com/eagleql/xray-core@v1.4.4/core/proto.go (about) 1 package core 2 3 import "path/filepath" 4 5 //go:generate go install -v google.golang.org/protobuf/cmd/protoc-gen-go 6 //go:generate go install -v google.golang.org/grpc/cmd/protoc-gen-go-grpc 7 //go:generate go get -v -u github.com/gogo/protobuf/protoc-gen-gofast 8 //go:generate go install -v github.com/gogo/protobuf/protoc-gen-gofast 9 //go:generate go run ../infra/vprotogen/main.go -pwd ./.. 10 11 // ProtoFilesUsingProtocGenGoFast is the map of Proto files 12 // that use `protoc-gen-gofast` to generate pb.go files 13 var ProtoFilesUsingProtocGenGoFast = map[string]bool{filepath.Join("proxy", "vless", "encoding", "addons.proto"): true}