This commit is contained in:
iamqizhao 2015-01-21 17:29:20 -08:00
Родитель cafb588ebe
Коммит 065d080169
24 изменённых файлов: 17 добавлений и 107 удалений

0
call.go Executable file → Normal file
Просмотреть файл

0
clientconn.go Executable file → Normal file
Просмотреть файл

0
codes/codes.go Executable file → Normal file
Просмотреть файл

0
credentials/credentials.go Executable file → Normal file
Просмотреть файл

0
interop/client/client.go Executable file → Normal file
Просмотреть файл

0
interop/server/server.go Executable file → Normal file
Просмотреть файл

0
interop/testdata/test_proto.pb.go поставляемый Executable file → Normal file
Просмотреть файл

0
interop/testdata/test_proto_grpc.pb.go поставляемый Executable file → Normal file
Просмотреть файл

0
metadata/metadata.go Executable file → Normal file
Просмотреть файл

0
metadata/metadata_test.go Executable file → Normal file
Просмотреть файл

0
rpc_util.go Executable file → Normal file
Просмотреть файл

0
rpc_util_test.go Executable file → Normal file
Просмотреть файл

0
server.go Executable file → Normal file
Просмотреть файл

0
stream.go Executable file → Normal file
Просмотреть файл

0
test/end2end_test.go Executable file → Normal file
Просмотреть файл

62
test/testdata/test.pb.go поставляемый Executable file → Normal file
Просмотреть файл

@ -1,44 +1,12 @@
/*
*
* Copyright 2014, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above
* copyright notice, this list of conditions and the following disclaimer
* in the documentation and/or other materials provided with the
* distribution.
* * Neither the name of Google Inc. nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*/
// Code generated by protoc-gen-go.
// source: net/grpc/go/test/test.proto
// source: test.proto
// DO NOT EDIT!
/*
Package test is a generated protocol buffer package.
It is generated from these files:
net/grpc/go/test/test.proto
test.proto
It has these top-level messages:
DivArgs
@ -65,7 +33,6 @@ type DivArgs struct {
func (m *DivArgs) Reset() { *m = DivArgs{} }
func (m *DivArgs) String() string { return proto.CompactTextString(m) }
func (*DivArgs) ProtoMessage() {}
func (*DivArgs) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
func (m *DivArgs) GetDividend() int64 {
if m != nil && m.Dividend != nil {
@ -90,7 +57,6 @@ type DivReply struct {
func (m *DivReply) Reset() { *m = DivReply{} }
func (m *DivReply) String() string { return proto.CompactTextString(m) }
func (*DivReply) ProtoMessage() {}
func (*DivReply) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
func (m *DivReply) GetQuotient() int64 {
if m != nil && m.Quotient != nil {
@ -114,7 +80,6 @@ type FibArgs struct {
func (m *FibArgs) Reset() { *m = FibArgs{} }
func (m *FibArgs) String() string { return proto.CompactTextString(m) }
func (*FibArgs) ProtoMessage() {}
func (*FibArgs) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
func (m *FibArgs) GetLimit() int64 {
if m != nil && m.Limit != nil {
@ -131,7 +96,6 @@ type Num struct {
func (m *Num) Reset() { *m = Num{} }
func (m *Num) String() string { return proto.CompactTextString(m) }
func (*Num) ProtoMessage() {}
func (*Num) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
func (m *Num) GetNum() int64 {
if m != nil && m.Num != nil {
@ -148,7 +112,6 @@ type FibReply struct {
func (m *FibReply) Reset() { *m = FibReply{} }
func (m *FibReply) String() string { return proto.CompactTextString(m) }
func (*FibReply) ProtoMessage() {}
func (*FibReply) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
func (m *FibReply) GetCount() int64 {
if m != nil && m.Count != nil {
@ -159,24 +122,3 @@ func (m *FibReply) GetCount() int64 {
func init() {
}
var fileDescriptor0 = []byte{
// 268 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x84, 0x90, 0xbf, 0x4e, 0xc3, 0x30,
0x10, 0x87, 0xb9, 0xba, 0x34, 0xe9, 0xa1, 0xf2, 0xc7, 0x53, 0x28, 0x0b, 0xf2, 0x80, 0x3a, 0xa0,
0x06, 0x21, 0x5e, 0x00, 0x84, 0xd8, 0xca, 0x00, 0x1b, 0x5b, 0x68, 0xac, 0x60, 0xa9, 0xb1, 0x83,
0xe3, 0x54, 0xea, 0xdb, 0x64, 0x64, 0xe4, 0x11, 0x39, 0x3b, 0x09, 0x88, 0xa9, 0x4b, 0x94, 0xbb,
0xfb, 0xee, 0xa7, 0xef, 0x8c, 0x17, 0x5a, 0xba, 0xb4, 0xb0, 0xd5, 0x3a, 0x2d, 0x4c, 0xea, 0x64,
0xed, 0xc2, 0x67, 0x59, 0x59, 0xe3, 0x0c, 0x1f, 0xfb, 0x7f, 0x71, 0x8d, 0xd1, 0xa3, 0xda, 0xde,
0xdb, 0xa2, 0xe6, 0xa7, 0x18, 0xe7, 0x6a, 0xab, 0x72, 0xa9, 0xf3, 0x04, 0x2e, 0x47, 0x0b, 0xc6,
0x4f, 0x30, 0xf2, 0x9d, 0xda, 0xd8, 0x64, 0xe4, 0x1b, 0x22, 0xc5, 0x98, 0xe8, 0x17, 0x59, 0x6d,
0x76, 0x1e, 0xff, 0x6c, 0x8c, 0x53, 0x52, 0xbb, 0x1e, 0x3f, 0xc3, 0xa9, 0x95, 0x65, 0xa6, 0x74,
0x2e, 0x87, 0x85, 0x04, 0xa3, 0x27, 0xf5, 0x1e, 0xe2, 0x67, 0x78, 0xb8, 0x51, 0xa5, 0xf2, 0x30,
0xd0, 0x84, 0x23, 0x7b, 0x6e, 0x4a, 0x7e, 0x84, 0x4c, 0x37, 0x65, 0x17, 0x20, 0xce, 0x31, 0x26,
0xba, 0x8b, 0x27, 0x7c, 0x6d, 0x9a, 0x21, 0xfb, 0xf6, 0x1b, 0x70, 0xbc, 0xca, 0xdc, 0x07, 0xbf,
0x42, 0x46, 0x0a, 0x7c, 0xb6, 0x0c, 0xa7, 0xf4, 0xee, 0xf3, 0xe3, 0xdf, 0x32, 0x6c, 0x8b, 0x03,
0x7e, 0x17, 0x0e, 0x5b, 0x65, 0x7a, 0xb7, 0x8f, 0x9d, 0xb4, 0x00, 0x5f, 0x00, 0x0b, 0xb8, 0x01,
0x9f, 0x4e, 0x06, 0xc3, 0x46, 0xaf, 0x3e, 0x9f, 0x76, 0x25, 0xf9, 0x0a, 0x46, 0x24, 0x71, 0x02,
0xd9, 0x2b, 0xd9, 0xff, 0x0d, 0xfe, 0x31, 0xad, 0x4f, 0x7b, 0x98, 0xbc, 0x85, 0x27, 0xfe, 0x09,
0x00, 0x00, 0xff, 0xff, 0x5d, 0x79, 0x02, 0xec, 0x86, 0x01, 0x00, 0x00,
}

32
test/testdata/test_grpc.pb.go поставляемый Executable file → Normal file
Просмотреть файл

@ -1,35 +1,3 @@
/*
*
* Copyright 2014, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above
* copyright notice, this list of conditions and the following disclaimer
* in the documentation and/or other materials provided with the
* distribution.
* * Neither the name of Google Inc. nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*/
package test
import (

0
transport/control.go Executable file → Normal file
Просмотреть файл

0
transport/http2_client_transport.go Executable file → Normal file
Просмотреть файл

0
transport/http2_server_transport.go Executable file → Normal file
Просмотреть файл

0
transport/http_util.go Executable file → Normal file
Просмотреть файл

0
transport/http_util_test.go Executable file → Normal file
Просмотреть файл

0
transport/transport.go Executable file → Normal file
Просмотреть файл

0
transport/transport_test.go Executable file → Normal file
Просмотреть файл