forked from extern/smegmesh
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;
|
||
|
}
|