Skip to content

Commit

Permalink
updating comments in proto file
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudBger committed Feb 14, 2024
1 parent a86b7f7 commit 435682b
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
16 changes: 8 additions & 8 deletions pb/substreams/sink/kv/v1/kvv1connect/read.connect.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions pb/substreams/sink/kv/v1/read_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions proto/substreams/sink/kv/v1/read.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ option go_package = "github.com/streamingfast/substreams-sink-kv/pb;pbkv";

service Kv {

// Get returns the requested value as bytes if it exists, grpc_error: NOT_FOUND otherwise.
// Get returns the requested value as bytes if it exists, not found error code otherwise.
rpc Get(GetRequest) returns (GetResponse);

// GetMany returns the requested values as bytes if all of them exists, grpc_error: NOT_FOUND otherwise.
// GetMany returns the requested values as bytes if all of them exists, not found error code otherwise.
rpc GetMany(GetManyRequest) returns (GetManyResponse);

// GetByPrefix returns the next _limit_ key/value pair that match the requested prefix if any exist, grpc_error: NOT_FOUND otherwise.
// GetByPrefix returns the next _limit_ key/value pair that match the requested prefix if any exist, not found error code otherwise.
rpc GetByPrefix(GetByPrefixRequest) returns (GetByPrefixResponse);

// Scan returns then next _limit_ key/value pairs starting lexicographically at the given key, grpc_error: NOT_FOUND otherwise.
// Scan returns then next _limit_ key/value pairs starting lexicographically at the given key, not found error code otherwise.
rpc Scan(ScanRequest) returns (ScanResponse);

}
Expand Down

0 comments on commit 435682b

Please sign in to comment.