25 lines
429 B
Protocol Buffer
25 lines
429 B
Protocol Buffer
|
syntax = "proto3";
|
||
|
|
||
|
package LibraryService;
|
||
|
|
||
|
option go_package = "leafdev.top/leaf/rag/proto/library";
|
||
|
|
||
|
import "google/api/annotations.proto";
|
||
|
import "google.golang.org/grpc/health/grpc_health_v1";
|
||
|
|
||
|
service LibraryService {
|
||
|
rpc ListLibrary(ListLibraryRequest) returns (ListLibraryResponse) {
|
||
|
option (google.api.http) = {
|
||
|
get: "/library"
|
||
|
};
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
message ListLibraryRequest {
|
||
|
|
||
|
}
|
||
|
|
||
|
message ListLibraryResponse {
|
||
|
|
||
|
}
|