Skip to content

Commit

Permalink
Merge pull request #13 from tinkerbell/add-tink
Browse files Browse the repository at this point in the history
Add compatibility with tink
  • Loading branch information
kqdeng authored Jun 22, 2020
2 parents d8aca4c + 3114ffc commit 465805d
Show file tree
Hide file tree
Showing 11 changed files with 1,560 additions and 143 deletions.
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ module github.com/packethost/hegel
go 1.13

require (
github.com/golang/protobuf v1.3.5
github.com/golang/protobuf v1.4.2
github.com/grpc-ecosystem/go-grpc-middleware v1.2.0
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0
github.com/packethost/cacher v0.0.0-20200319200613-5dc1cac4fd33
github.com/packethost/pkg v0.0.0-20190715213007-7c3a64b4b5e3
github.com/pkg/errors v0.9.1
github.com/prometheus/client_golang v1.5.1
golang.org/x/net v0.0.0-20200320220750-118fecf932d8
google.golang.org/grpc v1.28.0
github.com/tinkerbell/tink v0.0.0-20200622174048-5e66098170f3
google.golang.org/grpc v1.29.1
)
92 changes: 86 additions & 6 deletions go.sum

Large diffs are not rendered by default.

112 changes: 64 additions & 48 deletions grpc/hegel/hegel.pb.go

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

21 changes: 21 additions & 0 deletions grpc/protos/hegel.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
syntax = "proto3";
package hegel;

service Hegel {
rpc Get(GetRequest) returns (GetResponse);
rpc Subscribe(SubscribeRequest) returns (stream SubscribeResponse);
}

message GetRequest {}

message GetResponse {
string JSON = 1;
}

message SubscribeRequest {
string ID = 1;
}

message SubscribeResponse {
string JSON = 1;
}
Loading

0 comments on commit 465805d

Please sign in to comment.