mirror of
https://github.com/tim-beatham/smegmesh.git
synced 2024-12-13 18:11:25 +01:00
18 lines
327 B
Protocol Buffer
18 lines
327 B
Protocol Buffer
syntax = "proto3";
|
|
package rpctypes;
|
|
|
|
option go_package = "pkg/rpc";
|
|
|
|
service Authentication {
|
|
rpc JoinMesh(JoinAuthMeshRequest) returns (JoinAuthMeshReply) {}
|
|
}
|
|
|
|
message JoinAuthMeshRequest {
|
|
string meshId = 1;
|
|
string alias = 2;
|
|
}
|
|
|
|
message JoinAuthMeshReply {
|
|
bool success = 1;
|
|
optional string token = 2;
|
|
} |