password generator (#395)

This commit is contained in:
Asim Aslam
2022-03-02 10:11:46 +00:00
committed by GitHub
parent 9b61a8d28e
commit 7ab702dd5b
13 changed files with 466 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
syntax = "proto3";
package password;
option go_package = "./proto;password";
service Password {
rpc Generate(GenerateRequest) returns (GenerateResponse) {}
}
// Generate a strong random password
message GenerateRequest {
// password length; defaults to 16 chars
int32 length = 1;
}
message GenerateResponse {
// The generated password
string password = 1;
}