Skip to content

Commit

Permalink
protogen update
Browse files Browse the repository at this point in the history
  • Loading branch information
DarienRaymond committed Oct 15, 2016
1 parent 348893a commit be02687
Show file tree
Hide file tree
Showing 7 changed files with 72 additions and 130 deletions.
41 changes: 20 additions & 21 deletions app/dns/config.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 7 additions & 8 deletions common/net/port.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

81 changes: 18 additions & 63 deletions proxy/blackhole/config.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 2 additions & 13 deletions proxy/blackhole/config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,14 @@ option go_package = "blackhole";
option java_package = "com.v2ray.core.proxy.blackhole";
option java_outer_classname = "ConfigProto";

import "google/protobuf/any.proto";
import "v2ray.com/core/common/loader/type.proto";

message NoneResponse {

}

message HTTPResponse {

}

message Response {
enum Type {
None = 0;
HTTP = 1;
}
Type type = 1;
google.protobuf.Any settings = 2;
}

message Config {
Response response = 1;
v2ray.core.common.loader.TypedSettings response = 1;
}
14 changes: 7 additions & 7 deletions proxy/vmess/outbound/config.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tools/release/proto-gen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ for DIR in $(find ./v2ray.com/core -type d -not -path "*.git*"); do
TEST_FILES=($DIR/*.proto)
#echo ${TEST_FILES}
if [ -f ${TEST_FILES[0]} ]; then
protoc --proto_path=. --proto_path=./github.com/google/protobuf/src --go_out=. $DIR/*.proto
protoc --proto_path=. --go_out=. $DIR/*.proto
fi
done
popd
34 changes: 17 additions & 17 deletions transport/internet/tls/config.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit be02687

Please sign in to comment.