Versions in this module Expand all Collapse all v0 v0.4.0 Aug 23, 2020 Changes in this version + var File_service_task_service_interface_proto_entity_proto protoreflect.FileDescriptor + var File_service_task_service_interface_proto_service_proto protoreflect.FileDescriptor + func NewTaskServiceEndpoints() []*api.Endpoint + func RegisterTaskServiceHandler(s server.Server, hdlr TaskServiceHandler, opts ...server.HandlerOption) error + type CreateRequest struct + Description *wrappers.StringValue + func (*CreateRequest) Descriptor() ([]byte, []int) + func (*CreateRequest) ProtoMessage() + func (m *CreateRequest) Validate() error + func (x *CreateRequest) GetDescription() *wrappers.StringValue + func (x *CreateRequest) ProtoReflect() protoreflect.Message + func (x *CreateRequest) Reset() + func (x *CreateRequest) String() string + type CreateRequestValidationError struct + func (e CreateRequestValidationError) Cause() error + func (e CreateRequestValidationError) Error() string + func (e CreateRequestValidationError) ErrorName() string + func (e CreateRequestValidationError) Field() string + func (e CreateRequestValidationError) Key() bool + func (e CreateRequestValidationError) Reason() string + type CreateResponse struct + Result *Task + func (*CreateResponse) Descriptor() ([]byte, []int) + func (*CreateResponse) ProtoMessage() + func (m *CreateResponse) Validate() error + func (x *CreateResponse) GetResult() *Task + func (x *CreateResponse) ProtoReflect() protoreflect.Message + func (x *CreateResponse) Reset() + func (x *CreateResponse) String() string + type CreateResponseValidationError struct + func (e CreateResponseValidationError) Cause() error + func (e CreateResponseValidationError) Error() string + func (e CreateResponseValidationError) ErrorName() string + func (e CreateResponseValidationError) Field() string + func (e CreateResponseValidationError) Key() bool + func (e CreateResponseValidationError) Reason() string + type DeleteRequest struct + Id *wrappers.StringValue + func (*DeleteRequest) Descriptor() ([]byte, []int) + func (*DeleteRequest) ProtoMessage() + func (m *DeleteRequest) Validate() error + func (x *DeleteRequest) GetId() *wrappers.StringValue + func (x *DeleteRequest) ProtoReflect() protoreflect.Message + func (x *DeleteRequest) Reset() + func (x *DeleteRequest) String() string + type DeleteRequestValidationError struct + func (e DeleteRequestValidationError) Cause() error + func (e DeleteRequestValidationError) Error() string + func (e DeleteRequestValidationError) ErrorName() string + func (e DeleteRequestValidationError) Field() string + func (e DeleteRequestValidationError) Key() bool + func (e DeleteRequestValidationError) Reason() string + type DeleteResponse struct + func (*DeleteResponse) Descriptor() ([]byte, []int) + func (*DeleteResponse) ProtoMessage() + func (m *DeleteResponse) Validate() error + func (x *DeleteResponse) ProtoReflect() protoreflect.Message + func (x *DeleteResponse) Reset() + func (x *DeleteResponse) String() string + type DeleteResponseValidationError struct + func (e DeleteResponseValidationError) Cause() error + func (e DeleteResponseValidationError) Error() string + func (e DeleteResponseValidationError) ErrorName() string + func (e DeleteResponseValidationError) Field() string + func (e DeleteResponseValidationError) Key() bool + func (e DeleteResponseValidationError) Reason() string + type GetRequest struct + Id *wrappers.StringValue + func (*GetRequest) Descriptor() ([]byte, []int) + func (*GetRequest) ProtoMessage() + func (m *GetRequest) Validate() error + func (x *GetRequest) GetId() *wrappers.StringValue + func (x *GetRequest) ProtoReflect() protoreflect.Message + func (x *GetRequest) Reset() + func (x *GetRequest) String() string + type GetRequestValidationError struct + func (e GetRequestValidationError) Cause() error + func (e GetRequestValidationError) Error() string + func (e GetRequestValidationError) ErrorName() string + func (e GetRequestValidationError) Field() string + func (e GetRequestValidationError) Key() bool + func (e GetRequestValidationError) Reason() string + type GetResponse struct + Result *Task + func (*GetResponse) Descriptor() ([]byte, []int) + func (*GetResponse) ProtoMessage() + func (m *GetResponse) Validate() error + func (x *GetResponse) GetResult() *Task + func (x *GetResponse) ProtoReflect() protoreflect.Message + func (x *GetResponse) Reset() + func (x *GetResponse) String() string + type GetResponseValidationError struct + func (e GetResponseValidationError) Cause() error + func (e GetResponseValidationError) Error() string + func (e GetResponseValidationError) ErrorName() string + func (e GetResponseValidationError) Field() string + func (e GetResponseValidationError) Key() bool + func (e GetResponseValidationError) Reason() string + type ListRequest struct + func (*ListRequest) Descriptor() ([]byte, []int) + func (*ListRequest) ProtoMessage() + func (m *ListRequest) Validate() error + func (x *ListRequest) ProtoReflect() protoreflect.Message + func (x *ListRequest) Reset() + func (x *ListRequest) String() string + type ListRequestValidationError struct + func (e ListRequestValidationError) Cause() error + func (e ListRequestValidationError) Error() string + func (e ListRequestValidationError) ErrorName() string + func (e ListRequestValidationError) Field() string + func (e ListRequestValidationError) Key() bool + func (e ListRequestValidationError) Reason() string + type ListResponse struct + Results []*Task + func (*ListResponse) Descriptor() ([]byte, []int) + func (*ListResponse) ProtoMessage() + func (m *ListResponse) Validate() error + func (x *ListResponse) GetResults() []*Task + func (x *ListResponse) ProtoReflect() protoreflect.Message + func (x *ListResponse) Reset() + func (x *ListResponse) String() string + type ListResponseValidationError struct + func (e ListResponseValidationError) Cause() error + func (e ListResponseValidationError) Error() string + func (e ListResponseValidationError) ErrorName() string + func (e ListResponseValidationError) Field() string + func (e ListResponseValidationError) Key() bool + func (e ListResponseValidationError) Reason() string + type Task struct + CreatedAt *timestamp.Timestamp + DeletedAt *timestamp.Timestamp + Description *wrappers.StringValue + Id *wrappers.StringValue + UpdatedAt *timestamp.Timestamp + func (*Task) Descriptor() ([]byte, []int) + func (*Task) ProtoMessage() + func (m *Task) Validate() error + func (x *Task) GetCreatedAt() *timestamp.Timestamp + func (x *Task) GetDeletedAt() *timestamp.Timestamp + func (x *Task) GetDescription() *wrappers.StringValue + func (x *Task) GetId() *wrappers.StringValue + func (x *Task) GetUpdatedAt() *timestamp.Timestamp + func (x *Task) ProtoReflect() protoreflect.Message + func (x *Task) Reset() + func (x *Task) String() string + type TaskService interface + Create func(ctx context.Context, in *CreateRequest, opts ...client.CallOption) (*CreateResponse, error) + Delete func(ctx context.Context, in *DeleteRequest, opts ...client.CallOption) (*DeleteResponse, error) + Get func(ctx context.Context, in *GetRequest, opts ...client.CallOption) (*GetResponse, error) + List func(ctx context.Context, in *ListRequest, opts ...client.CallOption) (*ListResponse, error) + func NewTaskService(name string, c client.Client) TaskService + type TaskServiceHandler interface + Create func(context.Context, *CreateRequest, *CreateResponse) error + Delete func(context.Context, *DeleteRequest, *DeleteResponse) error + Get func(context.Context, *GetRequest, *GetResponse) error + List func(context.Context, *ListRequest, *ListResponse) error + type TaskValidationError struct + func (e TaskValidationError) Cause() error + func (e TaskValidationError) Error() string + func (e TaskValidationError) ErrorName() string + func (e TaskValidationError) Field() string + func (e TaskValidationError) Key() bool + func (e TaskValidationError) Reason() string