Nexus/pkg/proto/database.proto

18 lines
301 B
Protocol Buffer
Raw Permalink Normal View History

2024-10-20 11:04:41 +00:00
syntax = "proto3";
option go_package = ".;proto";
package proto;
2024-10-21 14:07:36 +00:00
service DatabaseService {
2024-10-20 11:04:41 +00:00
rpc AllocDatabase(AllocDatabaseRequest) returns (AllocDatabaseResponse) {}
}
message AllocDatabaseRequest {
string name = 1;
}
message AllocDatabaseResponse {
bool is_success = 1;
string dsn = 2;
}