Skip to content

Commit

Permalink
chore: add grpc auth header (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
shuiyisong authored Feb 21, 2023
1 parent 196bb74 commit 7896209
Show file tree
Hide file tree
Showing 5 changed files with 83 additions and 66 deletions.
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,10 @@ Cargo.lock

# These are backup files generated by rustfmt
**/*.rs.bk

# JetBrains IDE config directory
.idea/
*.iml

# VSCode IDE config directory
.vscode/
102 changes: 57 additions & 45 deletions go/greptime/v1/database.pb.go

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

37 changes: 17 additions & 20 deletions go/greptime/v1/meta/cluster.pb.go

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

2 changes: 2 additions & 0 deletions proto/greptime/v1/database.proto
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ message RequestHeader {
string catalog = 1;
// The `schema` that is selected to be used in this request.
string schema = 2;
// The `authorization` header string, much like http's authorization header.
string authorization = 3;
}

message GreptimeRequest {
Expand Down
1 change: 0 additions & 1 deletion proto/greptime/v1/meta/cluster.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ package greptime.v1.meta;

option go_package = "github.com/GreptimeTeam/greptime-proto/go/greptime/v1/meta";

import "greptime/v1/meta/common.proto";
import "greptime/v1/meta/store.proto";

// Cluster service is used for communication between meta nodes.
Expand Down

0 comments on commit 7896209

Please sign in to comment.