project is added
This commit is contained in:
commit
e68d96d277
9
. gitignore
Normal file
9
. gitignore
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
/target
|
||||||
|
/classes
|
||||||
|
/checkouts
|
||||||
|
pom.xml
|
||||||
|
pom.xml.asc
|
||||||
|
*.jar
|
||||||
|
*.class
|
||||||
|
/.lein-*
|
||||||
|
/.nrepl-port
|
13
.editorconfig
Normal file
13
.editorconfig
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
# Editor configuration, see https://editorconfig.org
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
charset = utf-8
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
||||||
|
insert_final_newline = true
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
|
[*.md]
|
||||||
|
max_line_length = off
|
||||||
|
trim_trailing_whitespace = false
|
24
network/network.proto
Normal file
24
network/network.proto
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
syntax = "proto3";
|
||||||
|
|
||||||
|
option cc_enable_arenas = true;
|
||||||
|
option java_outer_classname = "NetworkProto";
|
||||||
|
option java_multiple_files = true;
|
||||||
|
option java_package = "net.loafle.oddscrawler";
|
||||||
|
option go_package = "git.loafle.net/odds-crawler/odds-crawler-proto/network";
|
||||||
|
|
||||||
|
package oddscrawler;
|
||||||
|
|
||||||
|
// The request message containing the user's name.
|
||||||
|
message NetworkRequest {
|
||||||
|
string name = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
// The response message containing the greetings
|
||||||
|
message NetworkReply {
|
||||||
|
string message = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
service Networker {
|
||||||
|
// Sends a greeting
|
||||||
|
rpc SayHello (NetworkRequest) returns (NetworkReply) {}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user