Scaffolding

This commit is contained in:
altafan
2023-10-30 14:43:51 +01:00
commit bd6199a787
32 changed files with 567 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
syntax = "proto3";
package arkd.v1;
import "google/api/annotations.proto";
// TODO: Edit this proto to something more meaningful for your application.
service Service {
rpc GetVersion(GetVersionRequest) returns (GetVersionResponse) {
option (google.api.http) = {
post: "/v1/hello"
body: "*"
};
}
}
message GetVersionRequest {
string name = 1;
}
message GetVersionResponse {
string message = 1;
}

View File

@@ -0,0 +1,8 @@
# Generated by buf. DO NOT EDIT.
version: v1
deps:
- remote: buf.build
owner: googleapis
repository: googleapis
commit: 28151c0d0a1641bf938a7672c500e01d
digest: shake256:49215edf8ef57f7863004539deff8834cfb2195113f0b890dd1f67815d9353e28e668019165b9d872395871eeafcbab3ccfdb2b5f11734d3cca95be9e8d139de

12
api-spec/protobuf/buf.yaml Executable file
View File

@@ -0,0 +1,12 @@
version: v1
name: buf.build/ark-network/ark
deps:
- buf.build/googleapis/googleapis
breaking:
use:
- FILE
ignore_unstable_packages: true
lint:
use:
- DEFAULT