Nexus/pkg/proto/database.proto
2024-10-20 19:04:41 +08:00

18 lines
304 B
Protocol Buffer

syntax = "proto3";
option go_package = ".;proto";
package proto;
service DatabaseController {
rpc AllocDatabase(AllocDatabaseRequest) returns (AllocDatabaseResponse) {}
}
message AllocDatabaseRequest {
string name = 1;
}
message AllocDatabaseResponse {
bool is_success = 1;
string dsn = 2;
}