feat: Added auth token server

issue #96
This commit is contained in:
Andrey Melnikov
2020-03-10 12:53:13 -07:00
parent 8a3306f4df
commit c5975a4022
9 changed files with 174 additions and 216 deletions

View File

@@ -1159,11 +1159,11 @@ var fileDescriptor_892c7f566756b0be = []byte{
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConnInterface
var _ grpc.ClientConn
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion6
const _ = grpc.SupportPackageIsVersion4
// WorkflowServiceClient is the client API for WorkflowService service.
//
@@ -1190,10 +1190,10 @@ type WorkflowServiceClient interface {
}
type workflowServiceClient struct {
cc grpc.ClientConnInterface
cc *grpc.ClientConn
}
func NewWorkflowServiceClient(cc grpc.ClientConnInterface) WorkflowServiceClient {
func NewWorkflowServiceClient(cc *grpc.ClientConn) WorkflowServiceClient {
return &workflowServiceClient{cc}
}