Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var File_workflow_wfpb_wf_proto protoreflect.FileDescriptor
var Workflow_ServiceDesc = grpc.ServiceDesc{ ServiceName: "workflow.Workflow", HandlerType: (*WorkflowServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Execute", Handler: _Workflow_Execute_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "workflow/wfpb/wf.proto", }
Workflow_ServiceDesc is the grpc.ServiceDesc for Workflow service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterWorkflowServer ¶
func RegisterWorkflowServer(s grpc.ServiceRegistrar, srv WorkflowServer)
Types ¶
type UnimplementedWorkflowServer ¶
type UnimplementedWorkflowServer struct { }
UnimplementedWorkflowServer must be embedded to have forward compatible implementations.
func (UnimplementedWorkflowServer) Execute ¶
func (UnimplementedWorkflowServer) Execute(context.Context, *WorkflowData) (*emptypb.Empty, error)
type UnsafeWorkflowServer ¶
type UnsafeWorkflowServer interface {
// contains filtered or unexported methods
}
UnsafeWorkflowServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WorkflowServer will result in compilation errors.
type WorkflowClient ¶
type WorkflowClient interface {
Execute(ctx context.Context, in *WorkflowData, opts ...grpc.CallOption) (*emptypb.Empty, error)
}
WorkflowClient is the client API for Workflow service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewWorkflowClient ¶
func NewWorkflowClient(cc grpc.ClientConnInterface) WorkflowClient
type WorkflowData ¶
type WorkflowData struct { Data []byte `protobuf:"bytes,1,opt,name=Data,proto3" json:"Data,omitempty"` // contains filtered or unexported fields }
func (*WorkflowData) Descriptor
deprecated
func (*WorkflowData) Descriptor() ([]byte, []int)
Deprecated: Use WorkflowData.ProtoReflect.Descriptor instead.
func (*WorkflowData) GetData ¶
func (x *WorkflowData) GetData() []byte
func (*WorkflowData) ProtoMessage ¶
func (*WorkflowData) ProtoMessage()
func (*WorkflowData) ProtoReflect ¶
func (x *WorkflowData) ProtoReflect() protoreflect.Message
func (*WorkflowData) Reset ¶
func (x *WorkflowData) Reset()
func (*WorkflowData) String ¶
func (x *WorkflowData) String() string
type WorkflowServer ¶
type WorkflowServer interface { Execute(context.Context, *WorkflowData) (*emptypb.Empty, error) // contains filtered or unexported methods }
WorkflowServer is the server API for Workflow service. All implementations must embed UnimplementedWorkflowServer for forward compatibility