mirror of
https://github.com/crazy-max/diun.git
synced 2025-01-12 11:38:11 +00:00
1115234010
Add simple CLI to interact with Diun through gRPC Create image and notif proto services Compile and validate protos through a dedicated Dockerfile and bake target Implement proto definitions Move server as `serve` command New commands `image` and `notif` Refactor command line usage doc Better CLI error handling Tools build constraint to manage tools deps through go modules Add upgrade notes Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
14 lines
257 B
Protocol Buffer
14 lines
257 B
Protocol Buffer
syntax = "proto3";
|
|
option go_package = "github.com/crazy-max/diun/pb";
|
|
|
|
package pb;
|
|
|
|
message NotifTestRequest {}
|
|
|
|
message NotifTestResponse {
|
|
string message = 1;
|
|
}
|
|
|
|
service NotifService {
|
|
rpc NotifTest(NotifTestRequest) returns (NotifTestResponse) {}
|
|
}
|