smegmesh/pkg/grpc/ctrlserver/authentication.proto
2023-10-10 20:14:40 +01:00

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;
}