Protocol Buffer
Buat file proto/generic/generic_message.proto
syntax = "proto3";
package skeleton;
option go_package = "skeleton/pb/generic;generic";
message EmptyMessage {}
message Id {
string id = 1;
}
message StringMessage {
string message = 1;
}
message BoolMessage {
bool is_true = 1;
}
message Pagination {
uint32 limit = 1;
uint32 offset = 2;
string keyword = 3;
string order = 4;
string sort = 5;
}Buat file proto/drivers/driver_message.proto
Buat file proto/drivers/driver_input.proto
Buat file proto/drivers/driver_service.proto
Last updated
Was this helpful?