Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
D
distributed-calculator
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tammam.alsoleman
distributed-calculator
Commits
08f1b22a
You need to sign in or sign up before continuing.
Commit
08f1b22a
authored
Nov 11, 2025
by
tammam.alsoleman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
create multiplication service with node.js
parent
09b45e39
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
0 deletions
+40
-0
calculator.proto
multiplication-service/src/main/proto/calculator.proto
+40
-0
No files found.
multiplication-service/src/main/proto/calculator.proto
0 → 100644
View file @
08f1b22a
syntax
=
"proto3"
;
package
calculator
;
option
go_package
=
"./generated"
;
option
java_package
=
"com.calculator.multiplication.generated"
;
option
java_multiple_files
=
true
;
service
Calculator
{
rpc
Add
(
Numbers
)
returns
(
Result
);
rpc
Multiply
(
Numbers
)
returns
(
Result
);
rpc
GetOperationHistory
(
Empty
)
returns
(
stream
OperationHistory
);
}
message
Numbers
{
int32
a
=
1
;
int32
b
=
2
;
}
message
Result
{
int32
value
=
1
;
string
operation
=
2
;
}
message
OperationHistory
{
string
service_name
=
1
;
repeated
Operation
operations
=
2
;
}
message
Operation
{
string
type
=
1
;
int32
a
=
2
;
int32
b
=
3
;
int32
result
=
4
;
string
timestamp
=
5
;
}
message
Empty
{}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment