mirror of
https://github.com/onepanelio/onepanel.git
synced 2025-10-05 05:36:50 +08:00
@@ -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}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user