Versions in this module Expand all Collapse all v0 v0.0.1 Jul 10, 2021 Changes in this version + var File_callback_callback_proto protoreflect.FileDescriptor + func RegisterCallbackHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterCallbackHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CallbackClient) error + func RegisterCallbackHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterCallbackHandlerServer(ctx context.Context, mux *runtime.ServeMux, server CallbackServer) error + func RegisterCallbackServer(s *grpc.Server, srv CallbackServer) + type CallbackClient interface + Callback func(ctx context.Context, in *CallbackRequest, opts ...grpc.CallOption) (*CallbackResponse, error) + func NewCallbackClient(cc grpc.ClientConnInterface) CallbackClient + type CallbackRequest struct + Payload isCallbackRequest_Payload + Status job.Status + func (*CallbackRequest) Descriptor() ([]byte, []int) + func (*CallbackRequest) ProtoMessage() + func (m *CallbackRequest) GetPayload() isCallbackRequest_Payload + func (m *CallbackRequest) Validate() error + func (x *CallbackRequest) GetJob() *job.Job + func (x *CallbackRequest) GetStatus() job.Status + func (x *CallbackRequest) GetTask() *job.Task + func (x *CallbackRequest) ProtoReflect() protoreflect.Message + func (x *CallbackRequest) Reset() + func (x *CallbackRequest) String() string + type CallbackRequestValidationError struct + func (e CallbackRequestValidationError) Cause() error + func (e CallbackRequestValidationError) Error() string + func (e CallbackRequestValidationError) ErrorName() string + func (e CallbackRequestValidationError) Field() string + func (e CallbackRequestValidationError) Key() bool + func (e CallbackRequestValidationError) Reason() string + type CallbackRequest_Job struct + Job *job.Job + type CallbackRequest_Task struct + Task *job.Task + type CallbackResponse struct + func (*CallbackResponse) Descriptor() ([]byte, []int) + func (*CallbackResponse) ProtoMessage() + func (m *CallbackResponse) Validate() error + func (x *CallbackResponse) ProtoReflect() protoreflect.Message + func (x *CallbackResponse) Reset() + func (x *CallbackResponse) String() string + type CallbackResponseValidationError struct + func (e CallbackResponseValidationError) Cause() error + func (e CallbackResponseValidationError) Error() string + func (e CallbackResponseValidationError) ErrorName() string + func (e CallbackResponseValidationError) Field() string + func (e CallbackResponseValidationError) Key() bool + func (e CallbackResponseValidationError) Reason() string + type CallbackServer interface + Callback func(context.Context, *CallbackRequest) (*CallbackResponse, error) + type UnimplementedCallbackServer struct + func (*UnimplementedCallbackServer) Callback(context.Context, *CallbackRequest) (*CallbackResponse, error)