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