diff options
author | Soramichi Akiyama <akiyama@m.soramichi.jp> | 2015-04-28 12:56:11 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-04-30 14:45:09 +0900 |
commit | 4e376c8ca5885910b48282fd10b500b5cba6637b (patch) | |
tree | 6f8989703d5febb43df98819247fff68f99b1726 /api | |
parent | f8832eb4811f57d16211fe31986b395ffb3c6ff0 (diff) |
api: regenerate gobgp.pb.go to adapt the latest grpc implementation
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'api')
-rw-r--r-- | api/gobgp.pb.go | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/api/gobgp.pb.go b/api/gobgp.pb.go index 4fb2413a..b0f2ed40 100644 --- a/api/gobgp.pb.go +++ b/api/gobgp.pb.go @@ -920,9 +920,9 @@ func (x *grpcGetNeighborsServer) Send(m *Peer) error { return x.ServerStream.SendMsg(m) } -func _Grpc_GetNeighbor_Handler(srv interface{}, ctx context.Context, buf []byte) (interface{}, error) { +func _Grpc_GetNeighbor_Handler(srv interface{}, ctx context.Context, codec grpc.Codec, buf []byte) (interface{}, error) { in := new(Arguments) - if err := proto.Unmarshal(buf, in); err != nil { + if err := codec.Unmarshal(buf, in); err != nil { return nil, err } out, err := srv.(GrpcServer).GetNeighbor(ctx, in) @@ -974,9 +974,9 @@ func (x *grpcGetAdjRibServer) Send(m *Path) error { return x.ServerStream.SendMsg(m) } -func _Grpc_Reset_Handler(srv interface{}, ctx context.Context, buf []byte) (interface{}, error) { +func _Grpc_Reset_Handler(srv interface{}, ctx context.Context, codec grpc.Codec, buf []byte) (interface{}, error) { in := new(Arguments) - if err := proto.Unmarshal(buf, in); err != nil { + if err := codec.Unmarshal(buf, in); err != nil { return nil, err } out, err := srv.(GrpcServer).Reset(ctx, in) @@ -986,9 +986,9 @@ func _Grpc_Reset_Handler(srv interface{}, ctx context.Context, buf []byte) (inte return out, nil } -func _Grpc_SoftReset_Handler(srv interface{}, ctx context.Context, buf []byte) (interface{}, error) { +func _Grpc_SoftReset_Handler(srv interface{}, ctx context.Context, codec grpc.Codec, buf []byte) (interface{}, error) { in := new(Arguments) - if err := proto.Unmarshal(buf, in); err != nil { + if err := codec.Unmarshal(buf, in); err != nil { return nil, err } out, err := srv.(GrpcServer).SoftReset(ctx, in) @@ -998,9 +998,9 @@ func _Grpc_SoftReset_Handler(srv interface{}, ctx context.Context, buf []byte) ( return out, nil } -func _Grpc_SoftResetIn_Handler(srv interface{}, ctx context.Context, buf []byte) (interface{}, error) { +func _Grpc_SoftResetIn_Handler(srv interface{}, ctx context.Context, codec grpc.Codec, buf []byte) (interface{}, error) { in := new(Arguments) - if err := proto.Unmarshal(buf, in); err != nil { + if err := codec.Unmarshal(buf, in); err != nil { return nil, err } out, err := srv.(GrpcServer).SoftResetIn(ctx, in) @@ -1010,9 +1010,9 @@ func _Grpc_SoftResetIn_Handler(srv interface{}, ctx context.Context, buf []byte) return out, nil } -func _Grpc_SoftResetOut_Handler(srv interface{}, ctx context.Context, buf []byte) (interface{}, error) { +func _Grpc_SoftResetOut_Handler(srv interface{}, ctx context.Context, codec grpc.Codec, buf []byte) (interface{}, error) { in := new(Arguments) - if err := proto.Unmarshal(buf, in); err != nil { + if err := codec.Unmarshal(buf, in); err != nil { return nil, err } out, err := srv.(GrpcServer).SoftResetOut(ctx, in) @@ -1022,9 +1022,9 @@ func _Grpc_SoftResetOut_Handler(srv interface{}, ctx context.Context, buf []byte return out, nil } -func _Grpc_Shutdown_Handler(srv interface{}, ctx context.Context, buf []byte) (interface{}, error) { +func _Grpc_Shutdown_Handler(srv interface{}, ctx context.Context, codec grpc.Codec, buf []byte) (interface{}, error) { in := new(Arguments) - if err := proto.Unmarshal(buf, in); err != nil { + if err := codec.Unmarshal(buf, in); err != nil { return nil, err } out, err := srv.(GrpcServer).Shutdown(ctx, in) @@ -1034,9 +1034,9 @@ func _Grpc_Shutdown_Handler(srv interface{}, ctx context.Context, buf []byte) (i return out, nil } -func _Grpc_Enable_Handler(srv interface{}, ctx context.Context, buf []byte) (interface{}, error) { +func _Grpc_Enable_Handler(srv interface{}, ctx context.Context, codec grpc.Codec, buf []byte) (interface{}, error) { in := new(Arguments) - if err := proto.Unmarshal(buf, in); err != nil { + if err := codec.Unmarshal(buf, in); err != nil { return nil, err } out, err := srv.(GrpcServer).Enable(ctx, in) @@ -1046,9 +1046,9 @@ func _Grpc_Enable_Handler(srv interface{}, ctx context.Context, buf []byte) (int return out, nil } -func _Grpc_Disable_Handler(srv interface{}, ctx context.Context, buf []byte) (interface{}, error) { +func _Grpc_Disable_Handler(srv interface{}, ctx context.Context, codec grpc.Codec, buf []byte) (interface{}, error) { in := new(Arguments) - if err := proto.Unmarshal(buf, in); err != nil { + if err := codec.Unmarshal(buf, in); err != nil { return nil, err } out, err := srv.(GrpcServer).Disable(ctx, in) |