This commit is contained in:
insanity@loafle.com 2017-06-27 16:08:17 +09:00
parent a009f0b18d
commit ba5ce10a15
3 changed files with 28 additions and 31 deletions

View File

@ -1,6 +1,4 @@
all:
protoc -I/usr/local/include -I. \
-I${GOPATH}/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis \
--go_out=plugins=grpc:. \
--grpc-gateway_out=logtostderr=true:. \
echoserver.proto
protoc -I/usr/local/include -I. -I${GOPATH}/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis --go_out=plugins=grpc:. --grpc-gateway_out=logtostderr=true:. echoserver/echoserver.proto
protoc -I/usr/local/include -I. -I$GOPATH/src -I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis
-I grpc/ grpc/grpc.proto --go_out=plugins=grpc:grpc

View File

@ -1,12 +1,11 @@
// Code generated by protoc-gen-go.
// source: echoserver.proto
// DO NOT EDIT!
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: echoserver/echoserver.proto
/*
Package echoserver is a generated protocol buffer package.
It is generated from these files:
echoserver.proto
echoserver/echoserver.proto
It has these top-level messages:
EchoRequest
@ -348,30 +347,30 @@ var _EchoService_serviceDesc = grpc.ServiceDesc{
ClientStreams: true,
},
},
Metadata: "echoserver.proto",
Metadata: "echoserver/echoserver.proto",
}
func init() { proto.RegisterFile("echoserver.proto", fileDescriptor0) }
func init() { proto.RegisterFile("echoserver/echoserver.proto", fileDescriptor0) }
var fileDescriptor0 = []byte{
// 300 bytes of a gzipped FileDescriptorProto
// 303 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xc1, 0x4a, 0xc3, 0x40,
0x10, 0x86, 0xdd, 0x62, 0x13, 0x3a, 0xb5, 0x12, 0x57, 0xc4, 0x50, 0x2a, 0xc8, 0x5e, 0x0c, 0x1e,
0x10, 0x86, 0xdd, 0x62, 0x13, 0x3a, 0xb5, 0x52, 0x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f, 0xa0, 0x73, 0x8f, 0x5c, 0xea, 0x25, 0x72, 0x4d, 0x6f, 0xc0, 0x51, 0x9a, 0xeb, 0x95,
0x32, 0xd4, 0xe1, 0x74, 0xe4, 0x35, 0xcc, 0xd6, 0x98, 0xb7, 0x30, 0x4c, 0xf4, 0xc3, 0xb2, 0x73,
0x70, 0x6c, 0x87, 0x76, 0xc1, 0x7d, 0x08, 0xe6, 0x41, 0xf8, 0x18, 0xf4, 0xf7, 0xa8, 0x03, 0xad,
0x70, 0xde, 0x27, 0xcc, 0x85, 0xf6, 0x2c, 0x2f, 0xf5, 0xeb, 0xf4, 0x8b, 0x58, 0xfb, 0x0b, 0x94,
0xeb, 0x2c, 0x46, 0x1a, 0xc2, 0x7e, 0x55, 0xd2, 0xd3, 0xe6, 0x96, 0x46, 0xbe, 0xe1, 0xe0, 0xff,
0x0f, 0x9b, 0x87, 0xf5, 0xdf, 0x3e, 0x3e, 0xdf, 0x5b, 0xc0, 0xda, 0xe6, 0x9a, 0xb7, 0xe4, 0x6a,
0x4c, 0x26, 0x84, 0xde, 0x55, 0x46, 0x24, 0xf2, 0x9c, 0x1e, 0xfd, 0x99, 0xac, 0xb6, 0xef, 0x10,
0xeb, 0x19, 0x31, 0x97, 0x5a, 0xb1, 0x09, 0xa1, 0x21, 0x40, 0x1d, 0x56, 0x6d, 0xd3, 0x3a, 0xd9,
0x7a, 0x17, 0x76, 0x6c, 0x84, 0x7a, 0xac, 0xeb, 0xa7, 0xf5, 0x78, 0x65, 0x6c, 0xe9, 0x98, 0xe7,
0xbb, 0xfe, 0x0e, 0x00, 0x00, 0xff, 0xff, 0x38, 0x67, 0x6f, 0x07, 0x07, 0x02, 0x00, 0x00,
}

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-grpc-gateway
// source: echoserver.proto
// source: echoserver/echoserver.proto
// DO NOT EDIT!
/*