github.com/blend/go-sdk@v1.20220411.3/grpcutil/calculator/v1/calculator.proto (about) 1 // 2 // Copyright (c) 2022 - Present. Blend Labs, Inc. All rights reserved 3 // Use of this source code is governed by a MIT license that can be found in the LICENSE file. 4 // 5 6 syntax = "proto3"; 7 package v1; 8 9 option go_package = "golang.blend.com/sdk/grpcutil/calculator/v1"; 10 11 service Calculator { 12 rpc Add(Numbers) returns (Number) {} 13 rpc AddStream(stream Number) returns (Number) {} 14 rpc Subtract(Numbers) returns (Number) {} 15 rpc SubtractStream(stream Number) returns (Number) {} 16 rpc Multiply(Numbers) returns (Number) {} 17 rpc MultiplyStream(stream Number) returns (Number) {} 18 rpc Divide(Numbers) returns (Number) {} 19 rpc DivideStream(stream Number) returns (Number) {} 20 } 21 22 message Numbers { 23 repeated double Values = 1; 24 } 25 26 message Number { 27 double value = 1; 28 }