smegmesh/pkg/grpc/ctrlserver/authentication.proto

18 lines
327 B
Protocol Buffer
Raw Normal View History

2023-10-10 21:14:40 +02:00
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;
}