Documentation ¶
Index ¶
- Variables
- func RegisterActivityServiceServer(s grpc.ServiceRegistrar, srv ActivityServiceServer)
- func RegisterCommentServiceServer(s grpc.ServiceRegistrar, srv CommentServiceServer)
- func RegisterProjectServiceServer(s grpc.ServiceRegistrar, srv ProjectServiceServer)
- func RegisterTaskServiceServer(s grpc.ServiceRegistrar, srv TaskServiceServer)
- type Activity
- func (*Activity) Descriptor() ([]byte, []int)deprecated
- func (x *Activity) GetCreatedAt() string
- func (x *Activity) GetData() string
- func (x *Activity) GetId() int64
- func (*Activity) ProtoMessage()
- func (x *Activity) ProtoReflect() protoreflect.Message
- func (x *Activity) Reset()
- func (x *Activity) String() string
- type ActivityServiceClient
- type ActivityServiceServer
- type Comment
- func (*Comment) Descriptor() ([]byte, []int)deprecated
- func (x *Comment) GetCreatedAt() string
- func (x *Comment) GetId() int64
- func (x *Comment) GetText() string
- func (*Comment) ProtoMessage()
- func (x *Comment) ProtoReflect() protoreflect.Message
- func (x *Comment) Reset()
- func (x *Comment) String() string
- type CommentServiceClient
- type CommentServiceServer
- type CreateActivityRequest
- func (*CreateActivityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateActivityRequest) GetAction() CreateActivityRequest_Action
- func (x *CreateActivityRequest) GetData() string
- func (x *CreateActivityRequest) GetTaskId() int64
- func (*CreateActivityRequest) ProtoMessage()
- func (x *CreateActivityRequest) ProtoReflect() protoreflect.Message
- func (x *CreateActivityRequest) Reset()
- func (x *CreateActivityRequest) String() string
- type CreateActivityRequest_Action
- func (CreateActivityRequest_Action) Descriptor() protoreflect.EnumDescriptor
- func (x CreateActivityRequest_Action) Enum() *CreateActivityRequest_Action
- func (CreateActivityRequest_Action) EnumDescriptor() ([]byte, []int)deprecated
- func (x CreateActivityRequest_Action) Number() protoreflect.EnumNumber
- func (x CreateActivityRequest_Action) String() string
- func (CreateActivityRequest_Action) Type() protoreflect.EnumType
- type CreateCommentRequest
- func (*CreateCommentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCommentRequest) GetTaskId() int64
- func (x *CreateCommentRequest) GetText() string
- func (*CreateCommentRequest) ProtoMessage()
- func (x *CreateCommentRequest) ProtoReflect() protoreflect.Message
- func (x *CreateCommentRequest) Reset()
- func (x *CreateCommentRequest) String() string
- type CreateProjectRequest
- func (*CreateProjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateProjectRequest) GetName() string
- func (*CreateProjectRequest) ProtoMessage()
- func (x *CreateProjectRequest) ProtoReflect() protoreflect.Message
- func (x *CreateProjectRequest) Reset()
- func (x *CreateProjectRequest) String() string
- type CreateTaskRequest
- func (*CreateTaskRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTaskRequest) GetDescription() string
- func (x *CreateTaskRequest) GetEndTime() string
- func (x *CreateTaskRequest) GetName() string
- func (x *CreateTaskRequest) GetStartTime() string
- func (x *CreateTaskRequest) GetTags() []string
- func (*CreateTaskRequest) ProtoMessage()
- func (x *CreateTaskRequest) ProtoReflect() protoreflect.Message
- func (x *CreateTaskRequest) Reset()
- func (x *CreateTaskRequest) String() string
- type DeleteCommentRequest
- func (*DeleteCommentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteCommentRequest) GetId() int64
- func (*DeleteCommentRequest) ProtoMessage()
- func (x *DeleteCommentRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteCommentRequest) Reset()
- func (x *DeleteCommentRequest) String() string
- type DeleteProjectRequest
- func (*DeleteProjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteProjectRequest) GetId() int64
- func (*DeleteProjectRequest) ProtoMessage()
- func (x *DeleteProjectRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteProjectRequest) Reset()
- func (x *DeleteProjectRequest) String() string
- type DeleteTaskRequest
- type GetProjectRequest
- type GetTaskRequest
- type GetTaskResponse
- func (*GetTaskResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTaskResponse) GetSubTasks() []*Task
- func (x *GetTaskResponse) GetTask() *Task
- func (*GetTaskResponse) ProtoMessage()
- func (x *GetTaskResponse) ProtoReflect() protoreflect.Message
- func (x *GetTaskResponse) Reset()
- func (x *GetTaskResponse) String() string
- type ListActivitiesRequest
- func (*ListActivitiesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListActivitiesRequest) GetTaskId() int64
- func (*ListActivitiesRequest) ProtoMessage()
- func (x *ListActivitiesRequest) ProtoReflect() protoreflect.Message
- func (x *ListActivitiesRequest) Reset()
- func (x *ListActivitiesRequest) String() string
- type ListActivitiesResponse
- func (*ListActivitiesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListActivitiesResponse) GetActivities() []*Activity
- func (*ListActivitiesResponse) ProtoMessage()
- func (x *ListActivitiesResponse) ProtoReflect() protoreflect.Message
- func (x *ListActivitiesResponse) Reset()
- func (x *ListActivitiesResponse) String() string
- type ListCommentsRequest
- func (*ListCommentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListCommentsRequest) GetTaskId() int64
- func (*ListCommentsRequest) ProtoMessage()
- func (x *ListCommentsRequest) ProtoReflect() protoreflect.Message
- func (x *ListCommentsRequest) Reset()
- func (x *ListCommentsRequest) String() string
- type ListCommentsResponse
- func (*ListCommentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCommentsResponse) GetComments() []*Comment
- func (*ListCommentsResponse) ProtoMessage()
- func (x *ListCommentsResponse) ProtoReflect() protoreflect.Message
- func (x *ListCommentsResponse) Reset()
- func (x *ListCommentsResponse) String() string
- type ListProjectsRequest
- type ListProjectsResponse
- func (*ListProjectsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListProjectsResponse) GetProjects() []*Project
- func (*ListProjectsResponse) ProtoMessage()
- func (x *ListProjectsResponse) ProtoReflect() protoreflect.Message
- func (x *ListProjectsResponse) Reset()
- func (x *ListProjectsResponse) String() string
- type ListTasksRequest
- type ListTasksResponse
- type Project
- type ProjectServiceClient
- type ProjectServiceServer
- type SetTaskDoneRequest
- type Task
- func (*Task) Descriptor() ([]byte, []int)deprecated
- func (x *Task) GetCreatedAt() string
- func (x *Task) GetDescription() string
- func (x *Task) GetDone() bool
- func (x *Task) GetEndTime() string
- func (x *Task) GetId() int64
- func (x *Task) GetName() string
- func (x *Task) GetStartTime() string
- func (*Task) ProtoMessage()
- func (x *Task) ProtoReflect() protoreflect.Message
- func (x *Task) Reset()
- func (x *Task) String() string
- type TaskServiceClient
- type TaskServiceServer
- type TaskUpdate
- func (*TaskUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *TaskUpdate) GetDescription() string
- func (x *TaskUpdate) GetEndTime() string
- func (x *TaskUpdate) GetName() string
- func (x *TaskUpdate) GetStartTime() string
- func (*TaskUpdate) ProtoMessage()
- func (x *TaskUpdate) ProtoReflect() protoreflect.Message
- func (x *TaskUpdate) Reset()
- func (x *TaskUpdate) String() string
- type UnimplementedActivityServiceServer
- type UnimplementedCommentServiceServer
- func (UnimplementedCommentServiceServer) CreateComment(context.Context, *CreateCommentRequest) (*Comment, error)
- func (UnimplementedCommentServiceServer) DeleteComment(context.Context, *DeleteCommentRequest) (*emptypb.Empty, error)
- func (UnimplementedCommentServiceServer) ListComments(context.Context, *ListCommentsRequest) (*ListCommentsResponse, error)
- type UnimplementedProjectServiceServer
- func (UnimplementedProjectServiceServer) CreateProject(context.Context, *CreateProjectRequest) (*Project, error)
- func (UnimplementedProjectServiceServer) DeleteProject(context.Context, *DeleteProjectRequest) (*emptypb.Empty, error)
- func (UnimplementedProjectServiceServer) GetProject(context.Context, *GetProjectRequest) (*Project, error)
- func (UnimplementedProjectServiceServer) ListProjects(context.Context, *ListProjectsRequest) (*ListProjectsResponse, error)
- func (UnimplementedProjectServiceServer) UpdateProject(context.Context, *UpdateProjectRequest) (*Project, error)
- type UnimplementedTaskServiceServer
- func (UnimplementedTaskServiceServer) CreateTask(context.Context, *CreateTaskRequest) (*Task, error)
- func (UnimplementedTaskServiceServer) DeleteTask(context.Context, *DeleteTaskRequest) (*emptypb.Empty, error)
- func (UnimplementedTaskServiceServer) GetTask(context.Context, *GetTaskRequest) (*GetTaskResponse, error)
- func (UnimplementedTaskServiceServer) ListTasks(context.Context, *ListTasksRequest) (*ListTasksResponse, error)
- func (UnimplementedTaskServiceServer) SetTaskDone(context.Context, *SetTaskDoneRequest) (*emptypb.Empty, error)
- func (UnimplementedTaskServiceServer) UpdateTask(context.Context, *UpdateTaskRequest) (*Task, error)
- type UnsafeActivityServiceServer
- type UnsafeCommentServiceServer
- type UnsafeProjectServiceServer
- type UnsafeTaskServiceServer
- type UpdateProjectRequest
- func (*UpdateProjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateProjectRequest) GetId() int64
- func (x *UpdateProjectRequest) GetName() string
- func (*UpdateProjectRequest) ProtoMessage()
- func (x *UpdateProjectRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateProjectRequest) Reset()
- func (x *UpdateProjectRequest) String() string
- type UpdateTaskRequest
- func (*UpdateTaskRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTaskRequest) GetId() int64
- func (x *UpdateTaskRequest) GetTask() *TaskUpdate
- func (*UpdateTaskRequest) ProtoMessage()
- func (x *UpdateTaskRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateTaskRequest) Reset()
- func (x *UpdateTaskRequest) String() string
Constants ¶
This section is empty.
Variables ¶
var ( CreateActivityRequest_Action_name = map[int32]string{ 0: "ACTION_UNSPECIFIED", 1: "ADDED", 2: "CHANGED", } CreateActivityRequest_Action_value = map[string]int32{ "ACTION_UNSPECIFIED": 0, "ADDED": 1, "CHANGED": 2, } )
Enum value maps for CreateActivityRequest_Action.
var ActivityService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "todoist.v1.ActivityService", HandlerType: (*ActivityServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateActivity", Handler: _ActivityService_CreateActivity_Handler, }, { MethodName: "ListActivities", Handler: _ActivityService_ListActivities_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "todoist/v1/activity.proto", }
ActivityService_ServiceDesc is the grpc.ServiceDesc for ActivityService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var CommentService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "todoist.v1.CommentService", HandlerType: (*CommentServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateComment", Handler: _CommentService_CreateComment_Handler, }, { MethodName: "DeleteComment", Handler: _CommentService_DeleteComment_Handler, }, { MethodName: "ListComments", Handler: _CommentService_ListComments_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "todoist/v1/comment.proto", }
CommentService_ServiceDesc is the grpc.ServiceDesc for CommentService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_todoist_v1_activity_proto protoreflect.FileDescriptor
var File_todoist_v1_comment_proto protoreflect.FileDescriptor
var File_todoist_v1_project_proto protoreflect.FileDescriptor
var File_todoist_v1_task_proto protoreflect.FileDescriptor
var ProjectService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "todoist.v1.ProjectService", HandlerType: (*ProjectServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListProjects", Handler: _ProjectService_ListProjects_Handler, }, { MethodName: "GetProject", Handler: _ProjectService_GetProject_Handler, }, { MethodName: "CreateProject", Handler: _ProjectService_CreateProject_Handler, }, { MethodName: "UpdateProject", Handler: _ProjectService_UpdateProject_Handler, }, { MethodName: "DeleteProject", Handler: _ProjectService_DeleteProject_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "todoist/v1/project.proto", }
ProjectService_ServiceDesc is the grpc.ServiceDesc for ProjectService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var TaskService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "todoist.v1.TaskService", HandlerType: (*TaskServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateTask", Handler: _TaskService_CreateTask_Handler, }, { MethodName: "ListTasks", Handler: _TaskService_ListTasks_Handler, }, { MethodName: "GetTask", Handler: _TaskService_GetTask_Handler, }, { MethodName: "SetTaskDone", Handler: _TaskService_SetTaskDone_Handler, }, { MethodName: "UpdateTask", Handler: _TaskService_UpdateTask_Handler, }, { MethodName: "DeleteTask", Handler: _TaskService_DeleteTask_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "todoist/v1/task.proto", }
TaskService_ServiceDesc is the grpc.ServiceDesc for TaskService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterActivityServiceServer ¶
func RegisterActivityServiceServer(s grpc.ServiceRegistrar, srv ActivityServiceServer)
func RegisterCommentServiceServer ¶
func RegisterCommentServiceServer(s grpc.ServiceRegistrar, srv CommentServiceServer)
func RegisterProjectServiceServer ¶
func RegisterProjectServiceServer(s grpc.ServiceRegistrar, srv ProjectServiceServer)
func RegisterTaskServiceServer ¶
func RegisterTaskServiceServer(s grpc.ServiceRegistrar, srv TaskServiceServer)
Types ¶
type Activity ¶
type Activity struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Data string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` CreatedAt string `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
func (*Activity) Descriptor
deprecated
func (*Activity) GetCreatedAt ¶
func (*Activity) ProtoMessage ¶
func (*Activity) ProtoMessage()
func (*Activity) ProtoReflect ¶
func (x *Activity) ProtoReflect() protoreflect.Message
type ActivityServiceClient ¶
type ActivityServiceClient interface { CreateActivity(ctx context.Context, in *CreateActivityRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) ListActivities(ctx context.Context, in *ListActivitiesRequest, opts ...grpc.CallOption) (*ListActivitiesResponse, error) }
ActivityServiceClient is the client API for ActivityService 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 NewActivityServiceClient ¶
func NewActivityServiceClient(cc grpc.ClientConnInterface) ActivityServiceClient
type ActivityServiceServer ¶
type ActivityServiceServer interface { CreateActivity(context.Context, *CreateActivityRequest) (*emptypb.Empty, error) ListActivities(context.Context, *ListActivitiesRequest) (*ListActivitiesResponse, error) }
ActivityServiceServer is the server API for ActivityService service. All implementations should embed UnimplementedActivityServiceServer for forward compatibility
type Comment ¶
type Comment struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` CreatedAt string `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
func (*Comment) Descriptor
deprecated
func (*Comment) GetCreatedAt ¶
func (*Comment) ProtoMessage ¶
func (*Comment) ProtoMessage()
func (*Comment) ProtoReflect ¶
func (x *Comment) ProtoReflect() protoreflect.Message
type CommentServiceClient ¶
type CommentServiceClient interface { CreateComment(ctx context.Context, in *CreateCommentRequest, opts ...grpc.CallOption) (*Comment, error) DeleteComment(ctx context.Context, in *DeleteCommentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) ListComments(ctx context.Context, in *ListCommentsRequest, opts ...grpc.CallOption) (*ListCommentsResponse, error) }
CommentServiceClient is the client API for CommentService 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 NewCommentServiceClient ¶
func NewCommentServiceClient(cc grpc.ClientConnInterface) CommentServiceClient
type CommentServiceServer ¶
type CommentServiceServer interface { CreateComment(context.Context, *CreateCommentRequest) (*Comment, error) DeleteComment(context.Context, *DeleteCommentRequest) (*emptypb.Empty, error) ListComments(context.Context, *ListCommentsRequest) (*ListCommentsResponse, error) }
CommentServiceServer is the server API for CommentService service. All implementations should embed UnimplementedCommentServiceServer for forward compatibility
type CreateActivityRequest ¶
type CreateActivityRequest struct { TaskId int64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` Action CreateActivityRequest_Action `protobuf:"varint,3,opt,name=action,proto3,enum=todoist.v1.CreateActivityRequest_Action" json:"action,omitempty"` Data string `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CreateActivityRequest) Descriptor
deprecated
func (*CreateActivityRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateActivityRequest.ProtoReflect.Descriptor instead.
func (*CreateActivityRequest) GetAction ¶
func (x *CreateActivityRequest) GetAction() CreateActivityRequest_Action
func (*CreateActivityRequest) GetData ¶
func (x *CreateActivityRequest) GetData() string
func (*CreateActivityRequest) GetTaskId ¶
func (x *CreateActivityRequest) GetTaskId() int64
func (*CreateActivityRequest) ProtoMessage ¶
func (*CreateActivityRequest) ProtoMessage()
func (*CreateActivityRequest) ProtoReflect ¶
func (x *CreateActivityRequest) ProtoReflect() protoreflect.Message
func (*CreateActivityRequest) Reset ¶
func (x *CreateActivityRequest) Reset()
func (*CreateActivityRequest) String ¶
func (x *CreateActivityRequest) String() string
type CreateActivityRequest_Action ¶
type CreateActivityRequest_Action int32
const ( CreateActivityRequest_ACTION_UNSPECIFIED CreateActivityRequest_Action = 0 CreateActivityRequest_ADDED CreateActivityRequest_Action = 1 CreateActivityRequest_CHANGED CreateActivityRequest_Action = 2 )
func (CreateActivityRequest_Action) Descriptor ¶
func (CreateActivityRequest_Action) Descriptor() protoreflect.EnumDescriptor
func (CreateActivityRequest_Action) Enum ¶
func (x CreateActivityRequest_Action) Enum() *CreateActivityRequest_Action
func (CreateActivityRequest_Action) EnumDescriptor
deprecated
func (CreateActivityRequest_Action) EnumDescriptor() ([]byte, []int)
Deprecated: Use CreateActivityRequest_Action.Descriptor instead.
func (CreateActivityRequest_Action) Number ¶
func (x CreateActivityRequest_Action) Number() protoreflect.EnumNumber
func (CreateActivityRequest_Action) String ¶
func (x CreateActivityRequest_Action) String() string
func (CreateActivityRequest_Action) Type ¶
func (CreateActivityRequest_Action) Type() protoreflect.EnumType
type CreateCommentRequest ¶
type CreateCommentRequest struct { TaskId int64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
func (*CreateCommentRequest) Descriptor
deprecated
func (*CreateCommentRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateCommentRequest.ProtoReflect.Descriptor instead.
func (*CreateCommentRequest) GetTaskId ¶
func (x *CreateCommentRequest) GetTaskId() int64
func (*CreateCommentRequest) GetText ¶
func (x *CreateCommentRequest) GetText() string
func (*CreateCommentRequest) ProtoMessage ¶
func (*CreateCommentRequest) ProtoMessage()
func (*CreateCommentRequest) ProtoReflect ¶
func (x *CreateCommentRequest) ProtoReflect() protoreflect.Message
func (*CreateCommentRequest) Reset ¶
func (x *CreateCommentRequest) Reset()
func (*CreateCommentRequest) String ¶
func (x *CreateCommentRequest) String() string
type CreateProjectRequest ¶
type CreateProjectRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*CreateProjectRequest) Descriptor
deprecated
func (*CreateProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateProjectRequest.ProtoReflect.Descriptor instead.
func (*CreateProjectRequest) GetName ¶
func (x *CreateProjectRequest) GetName() string
func (*CreateProjectRequest) ProtoMessage ¶
func (*CreateProjectRequest) ProtoMessage()
func (*CreateProjectRequest) ProtoReflect ¶
func (x *CreateProjectRequest) ProtoReflect() protoreflect.Message
func (*CreateProjectRequest) Reset ¶
func (x *CreateProjectRequest) Reset()
func (*CreateProjectRequest) String ¶
func (x *CreateProjectRequest) String() string
type CreateTaskRequest ¶
type CreateTaskRequest struct { Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` StartTime string `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime string `protobuf:"bytes,6,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` Tags []string `protobuf:"bytes,7,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
func (*CreateTaskRequest) Descriptor
deprecated
func (*CreateTaskRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTaskRequest.ProtoReflect.Descriptor instead.
func (*CreateTaskRequest) GetDescription ¶
func (x *CreateTaskRequest) GetDescription() string
func (*CreateTaskRequest) GetEndTime ¶
func (x *CreateTaskRequest) GetEndTime() string
func (*CreateTaskRequest) GetName ¶
func (x *CreateTaskRequest) GetName() string
func (*CreateTaskRequest) GetStartTime ¶
func (x *CreateTaskRequest) GetStartTime() string
func (*CreateTaskRequest) GetTags ¶
func (x *CreateTaskRequest) GetTags() []string
func (*CreateTaskRequest) ProtoMessage ¶
func (*CreateTaskRequest) ProtoMessage()
func (*CreateTaskRequest) ProtoReflect ¶
func (x *CreateTaskRequest) ProtoReflect() protoreflect.Message
func (*CreateTaskRequest) Reset ¶
func (x *CreateTaskRequest) Reset()
func (*CreateTaskRequest) String ¶
func (x *CreateTaskRequest) String() string
type DeleteCommentRequest ¶
type DeleteCommentRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteCommentRequest) Descriptor
deprecated
func (*DeleteCommentRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCommentRequest.ProtoReflect.Descriptor instead.
func (*DeleteCommentRequest) GetId ¶
func (x *DeleteCommentRequest) GetId() int64
func (*DeleteCommentRequest) ProtoMessage ¶
func (*DeleteCommentRequest) ProtoMessage()
func (*DeleteCommentRequest) ProtoReflect ¶
func (x *DeleteCommentRequest) ProtoReflect() protoreflect.Message
func (*DeleteCommentRequest) Reset ¶
func (x *DeleteCommentRequest) Reset()
func (*DeleteCommentRequest) String ¶
func (x *DeleteCommentRequest) String() string
type DeleteProjectRequest ¶
type DeleteProjectRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteProjectRequest) Descriptor
deprecated
func (*DeleteProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteProjectRequest.ProtoReflect.Descriptor instead.
func (*DeleteProjectRequest) GetId ¶
func (x *DeleteProjectRequest) GetId() int64
func (*DeleteProjectRequest) ProtoMessage ¶
func (*DeleteProjectRequest) ProtoMessage()
func (*DeleteProjectRequest) ProtoReflect ¶
func (x *DeleteProjectRequest) ProtoReflect() protoreflect.Message
func (*DeleteProjectRequest) Reset ¶
func (x *DeleteProjectRequest) Reset()
func (*DeleteProjectRequest) String ¶
func (x *DeleteProjectRequest) String() string
type DeleteTaskRequest ¶
type DeleteTaskRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteTaskRequest) Descriptor
deprecated
func (*DeleteTaskRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTaskRequest.ProtoReflect.Descriptor instead.
func (*DeleteTaskRequest) GetId ¶
func (x *DeleteTaskRequest) GetId() int64
func (*DeleteTaskRequest) ProtoMessage ¶
func (*DeleteTaskRequest) ProtoMessage()
func (*DeleteTaskRequest) ProtoReflect ¶
func (x *DeleteTaskRequest) ProtoReflect() protoreflect.Message
func (*DeleteTaskRequest) Reset ¶
func (x *DeleteTaskRequest) Reset()
func (*DeleteTaskRequest) String ¶
func (x *DeleteTaskRequest) String() string
type GetProjectRequest ¶
type GetProjectRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetProjectRequest) Descriptor
deprecated
func (*GetProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProjectRequest.ProtoReflect.Descriptor instead.
func (*GetProjectRequest) GetId ¶
func (x *GetProjectRequest) GetId() string
func (*GetProjectRequest) ProtoMessage ¶
func (*GetProjectRequest) ProtoMessage()
func (*GetProjectRequest) ProtoReflect ¶
func (x *GetProjectRequest) ProtoReflect() protoreflect.Message
func (*GetProjectRequest) Reset ¶
func (x *GetProjectRequest) Reset()
func (*GetProjectRequest) String ¶
func (x *GetProjectRequest) String() string
type GetTaskRequest ¶
type GetTaskRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetTaskRequest) Descriptor
deprecated
func (*GetTaskRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTaskRequest.ProtoReflect.Descriptor instead.
func (*GetTaskRequest) GetId ¶
func (x *GetTaskRequest) GetId() int64
func (*GetTaskRequest) ProtoMessage ¶
func (*GetTaskRequest) ProtoMessage()
func (*GetTaskRequest) ProtoReflect ¶
func (x *GetTaskRequest) ProtoReflect() protoreflect.Message
func (*GetTaskRequest) Reset ¶
func (x *GetTaskRequest) Reset()
func (*GetTaskRequest) String ¶
func (x *GetTaskRequest) String() string
type GetTaskResponse ¶
type GetTaskResponse struct { Task *Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"` SubTasks []*Task `protobuf:"bytes,2,rep,name=sub_tasks,json=subTasks,proto3" json:"sub_tasks,omitempty"` // contains filtered or unexported fields }
func (*GetTaskResponse) Descriptor
deprecated
func (*GetTaskResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTaskResponse.ProtoReflect.Descriptor instead.
func (*GetTaskResponse) GetSubTasks ¶
func (x *GetTaskResponse) GetSubTasks() []*Task
func (*GetTaskResponse) GetTask ¶
func (x *GetTaskResponse) GetTask() *Task
func (*GetTaskResponse) ProtoMessage ¶
func (*GetTaskResponse) ProtoMessage()
func (*GetTaskResponse) ProtoReflect ¶
func (x *GetTaskResponse) ProtoReflect() protoreflect.Message
func (*GetTaskResponse) Reset ¶
func (x *GetTaskResponse) Reset()
func (*GetTaskResponse) String ¶
func (x *GetTaskResponse) String() string
type ListActivitiesRequest ¶
type ListActivitiesRequest struct { TaskId int64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` // contains filtered or unexported fields }
func (*ListActivitiesRequest) Descriptor
deprecated
func (*ListActivitiesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListActivitiesRequest.ProtoReflect.Descriptor instead.
func (*ListActivitiesRequest) GetTaskId ¶
func (x *ListActivitiesRequest) GetTaskId() int64
func (*ListActivitiesRequest) ProtoMessage ¶
func (*ListActivitiesRequest) ProtoMessage()
func (*ListActivitiesRequest) ProtoReflect ¶
func (x *ListActivitiesRequest) ProtoReflect() protoreflect.Message
func (*ListActivitiesRequest) Reset ¶
func (x *ListActivitiesRequest) Reset()
func (*ListActivitiesRequest) String ¶
func (x *ListActivitiesRequest) String() string
type ListActivitiesResponse ¶
type ListActivitiesResponse struct { Activities []*Activity `protobuf:"bytes,1,rep,name=activities,proto3" json:"activities,omitempty"` // contains filtered or unexported fields }
func (*ListActivitiesResponse) Descriptor
deprecated
func (*ListActivitiesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListActivitiesResponse.ProtoReflect.Descriptor instead.
func (*ListActivitiesResponse) GetActivities ¶
func (x *ListActivitiesResponse) GetActivities() []*Activity
func (*ListActivitiesResponse) ProtoMessage ¶
func (*ListActivitiesResponse) ProtoMessage()
func (*ListActivitiesResponse) ProtoReflect ¶
func (x *ListActivitiesResponse) ProtoReflect() protoreflect.Message
func (*ListActivitiesResponse) Reset ¶
func (x *ListActivitiesResponse) Reset()
func (*ListActivitiesResponse) String ¶
func (x *ListActivitiesResponse) String() string
type ListCommentsRequest ¶
type ListCommentsRequest struct { TaskId int64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` // contains filtered or unexported fields }
func (*ListCommentsRequest) Descriptor
deprecated
func (*ListCommentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCommentsRequest.ProtoReflect.Descriptor instead.
func (*ListCommentsRequest) GetTaskId ¶
func (x *ListCommentsRequest) GetTaskId() int64
func (*ListCommentsRequest) ProtoMessage ¶
func (*ListCommentsRequest) ProtoMessage()
func (*ListCommentsRequest) ProtoReflect ¶
func (x *ListCommentsRequest) ProtoReflect() protoreflect.Message
func (*ListCommentsRequest) Reset ¶
func (x *ListCommentsRequest) Reset()
func (*ListCommentsRequest) String ¶
func (x *ListCommentsRequest) String() string
type ListCommentsResponse ¶
type ListCommentsResponse struct { Comments []*Comment `protobuf:"bytes,1,rep,name=comments,proto3" json:"comments,omitempty"` // contains filtered or unexported fields }
func (*ListCommentsResponse) Descriptor
deprecated
func (*ListCommentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCommentsResponse.ProtoReflect.Descriptor instead.
func (*ListCommentsResponse) GetComments ¶
func (x *ListCommentsResponse) GetComments() []*Comment
func (*ListCommentsResponse) ProtoMessage ¶
func (*ListCommentsResponse) ProtoMessage()
func (*ListCommentsResponse) ProtoReflect ¶
func (x *ListCommentsResponse) ProtoReflect() protoreflect.Message
func (*ListCommentsResponse) Reset ¶
func (x *ListCommentsResponse) Reset()
func (*ListCommentsResponse) String ¶
func (x *ListCommentsResponse) String() string
type ListProjectsRequest ¶
type ListProjectsRequest struct {
// contains filtered or unexported fields
}
func (*ListProjectsRequest) Descriptor
deprecated
func (*ListProjectsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListProjectsRequest.ProtoReflect.Descriptor instead.
func (*ListProjectsRequest) ProtoMessage ¶
func (*ListProjectsRequest) ProtoMessage()
func (*ListProjectsRequest) ProtoReflect ¶
func (x *ListProjectsRequest) ProtoReflect() protoreflect.Message
func (*ListProjectsRequest) Reset ¶
func (x *ListProjectsRequest) Reset()
func (*ListProjectsRequest) String ¶
func (x *ListProjectsRequest) String() string
type ListProjectsResponse ¶
type ListProjectsResponse struct { Projects []*Project `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty"` // contains filtered or unexported fields }
func (*ListProjectsResponse) Descriptor
deprecated
func (*ListProjectsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListProjectsResponse.ProtoReflect.Descriptor instead.
func (*ListProjectsResponse) GetProjects ¶
func (x *ListProjectsResponse) GetProjects() []*Project
func (*ListProjectsResponse) ProtoMessage ¶
func (*ListProjectsResponse) ProtoMessage()
func (*ListProjectsResponse) ProtoReflect ¶
func (x *ListProjectsResponse) ProtoReflect() protoreflect.Message
func (*ListProjectsResponse) Reset ¶
func (x *ListProjectsResponse) Reset()
func (*ListProjectsResponse) String ¶
func (x *ListProjectsResponse) String() string
type ListTasksRequest ¶
type ListTasksRequest struct {
// contains filtered or unexported fields
}
func (*ListTasksRequest) Descriptor
deprecated
func (*ListTasksRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTasksRequest.ProtoReflect.Descriptor instead.
func (*ListTasksRequest) ProtoMessage ¶
func (*ListTasksRequest) ProtoMessage()
func (*ListTasksRequest) ProtoReflect ¶
func (x *ListTasksRequest) ProtoReflect() protoreflect.Message
func (*ListTasksRequest) Reset ¶
func (x *ListTasksRequest) Reset()
func (*ListTasksRequest) String ¶
func (x *ListTasksRequest) String() string
type ListTasksResponse ¶
type ListTasksResponse struct { Task []*Task `protobuf:"bytes,1,rep,name=task,proto3" json:"task,omitempty"` // contains filtered or unexported fields }
func (*ListTasksResponse) Descriptor
deprecated
func (*ListTasksResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTasksResponse.ProtoReflect.Descriptor instead.
func (*ListTasksResponse) GetTask ¶
func (x *ListTasksResponse) GetTask() []*Task
func (*ListTasksResponse) ProtoMessage ¶
func (*ListTasksResponse) ProtoMessage()
func (*ListTasksResponse) ProtoReflect ¶
func (x *ListTasksResponse) ProtoReflect() protoreflect.Message
func (*ListTasksResponse) Reset ¶
func (x *ListTasksResponse) Reset()
func (*ListTasksResponse) String ¶
func (x *ListTasksResponse) String() string
type Project ¶
type Project struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Project) Descriptor
deprecated
func (*Project) ProtoMessage ¶
func (*Project) ProtoMessage()
func (*Project) ProtoReflect ¶
func (x *Project) ProtoReflect() protoreflect.Message
type ProjectServiceClient ¶
type ProjectServiceClient interface { ListProjects(ctx context.Context, in *ListProjectsRequest, opts ...grpc.CallOption) (*ListProjectsResponse, error) GetProject(ctx context.Context, in *GetProjectRequest, opts ...grpc.CallOption) (*Project, error) CreateProject(ctx context.Context, in *CreateProjectRequest, opts ...grpc.CallOption) (*Project, error) UpdateProject(ctx context.Context, in *UpdateProjectRequest, opts ...grpc.CallOption) (*Project, error) DeleteProject(ctx context.Context, in *DeleteProjectRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
ProjectServiceClient is the client API for ProjectService 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 NewProjectServiceClient ¶
func NewProjectServiceClient(cc grpc.ClientConnInterface) ProjectServiceClient
type ProjectServiceServer ¶
type ProjectServiceServer interface { ListProjects(context.Context, *ListProjectsRequest) (*ListProjectsResponse, error) GetProject(context.Context, *GetProjectRequest) (*Project, error) CreateProject(context.Context, *CreateProjectRequest) (*Project, error) UpdateProject(context.Context, *UpdateProjectRequest) (*Project, error) DeleteProject(context.Context, *DeleteProjectRequest) (*emptypb.Empty, error) }
ProjectServiceServer is the server API for ProjectService service. All implementations should embed UnimplementedProjectServiceServer for forward compatibility
type SetTaskDoneRequest ¶
type SetTaskDoneRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*SetTaskDoneRequest) Descriptor
deprecated
func (*SetTaskDoneRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetTaskDoneRequest.ProtoReflect.Descriptor instead.
func (*SetTaskDoneRequest) GetId ¶
func (x *SetTaskDoneRequest) GetId() int64
func (*SetTaskDoneRequest) ProtoMessage ¶
func (*SetTaskDoneRequest) ProtoMessage()
func (*SetTaskDoneRequest) ProtoReflect ¶
func (x *SetTaskDoneRequest) ProtoReflect() protoreflect.Message
func (*SetTaskDoneRequest) Reset ¶
func (x *SetTaskDoneRequest) Reset()
func (*SetTaskDoneRequest) String ¶
func (x *SetTaskDoneRequest) String() string
type Task ¶
type Task struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Done bool `protobuf:"varint,4,opt,name=done,proto3" json:"done,omitempty"` StartTime string `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime string `protobuf:"bytes,6,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` CreatedAt string `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
func (*Task) Descriptor
deprecated
func (*Task) GetCreatedAt ¶
func (*Task) GetDescription ¶
func (*Task) GetEndTime ¶
func (*Task) GetStartTime ¶
func (*Task) ProtoMessage ¶
func (*Task) ProtoMessage()
func (*Task) ProtoReflect ¶
func (x *Task) ProtoReflect() protoreflect.Message
type TaskServiceClient ¶
type TaskServiceClient interface { CreateTask(ctx context.Context, in *CreateTaskRequest, opts ...grpc.CallOption) (*Task, error) ListTasks(ctx context.Context, in *ListTasksRequest, opts ...grpc.CallOption) (*ListTasksResponse, error) GetTask(ctx context.Context, in *GetTaskRequest, opts ...grpc.CallOption) (*GetTaskResponse, error) SetTaskDone(ctx context.Context, in *SetTaskDoneRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) UpdateTask(ctx context.Context, in *UpdateTaskRequest, opts ...grpc.CallOption) (*Task, error) DeleteTask(ctx context.Context, in *DeleteTaskRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
TaskServiceClient is the client API for TaskService 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 NewTaskServiceClient ¶
func NewTaskServiceClient(cc grpc.ClientConnInterface) TaskServiceClient
type TaskServiceServer ¶
type TaskServiceServer interface { CreateTask(context.Context, *CreateTaskRequest) (*Task, error) ListTasks(context.Context, *ListTasksRequest) (*ListTasksResponse, error) GetTask(context.Context, *GetTaskRequest) (*GetTaskResponse, error) SetTaskDone(context.Context, *SetTaskDoneRequest) (*emptypb.Empty, error) UpdateTask(context.Context, *UpdateTaskRequest) (*Task, error) DeleteTask(context.Context, *DeleteTaskRequest) (*emptypb.Empty, error) }
TaskServiceServer is the server API for TaskService service. All implementations should embed UnimplementedTaskServiceServer for forward compatibility
type TaskUpdate ¶
type TaskUpdate struct { Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` StartTime string `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime string `protobuf:"bytes,6,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // contains filtered or unexported fields }
func (*TaskUpdate) Descriptor
deprecated
func (*TaskUpdate) Descriptor() ([]byte, []int)
Deprecated: Use TaskUpdate.ProtoReflect.Descriptor instead.
func (*TaskUpdate) GetDescription ¶
func (x *TaskUpdate) GetDescription() string
func (*TaskUpdate) GetEndTime ¶
func (x *TaskUpdate) GetEndTime() string
func (*TaskUpdate) GetName ¶
func (x *TaskUpdate) GetName() string
func (*TaskUpdate) GetStartTime ¶
func (x *TaskUpdate) GetStartTime() string
func (*TaskUpdate) ProtoMessage ¶
func (*TaskUpdate) ProtoMessage()
func (*TaskUpdate) ProtoReflect ¶
func (x *TaskUpdate) ProtoReflect() protoreflect.Message
func (*TaskUpdate) Reset ¶
func (x *TaskUpdate) Reset()
func (*TaskUpdate) String ¶
func (x *TaskUpdate) String() string
type UnimplementedActivityServiceServer ¶
type UnimplementedActivityServiceServer struct { }
UnimplementedActivityServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedActivityServiceServer) CreateActivity ¶
func (UnimplementedActivityServiceServer) CreateActivity(context.Context, *CreateActivityRequest) (*emptypb.Empty, error)
func (UnimplementedActivityServiceServer) ListActivities ¶
func (UnimplementedActivityServiceServer) ListActivities(context.Context, *ListActivitiesRequest) (*ListActivitiesResponse, error)
type UnimplementedCommentServiceServer ¶
type UnimplementedCommentServiceServer struct { }
UnimplementedCommentServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedCommentServiceServer) CreateComment ¶
func (UnimplementedCommentServiceServer) CreateComment(context.Context, *CreateCommentRequest) (*Comment, error)
func (UnimplementedCommentServiceServer) DeleteComment ¶
func (UnimplementedCommentServiceServer) DeleteComment(context.Context, *DeleteCommentRequest) (*emptypb.Empty, error)
func (UnimplementedCommentServiceServer) ListComments ¶
func (UnimplementedCommentServiceServer) ListComments(context.Context, *ListCommentsRequest) (*ListCommentsResponse, error)
type UnimplementedProjectServiceServer ¶
type UnimplementedProjectServiceServer struct { }
UnimplementedProjectServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedProjectServiceServer) CreateProject ¶
func (UnimplementedProjectServiceServer) CreateProject(context.Context, *CreateProjectRequest) (*Project, error)
func (UnimplementedProjectServiceServer) DeleteProject ¶
func (UnimplementedProjectServiceServer) DeleteProject(context.Context, *DeleteProjectRequest) (*emptypb.Empty, error)
func (UnimplementedProjectServiceServer) GetProject ¶
func (UnimplementedProjectServiceServer) GetProject(context.Context, *GetProjectRequest) (*Project, error)
func (UnimplementedProjectServiceServer) ListProjects ¶
func (UnimplementedProjectServiceServer) ListProjects(context.Context, *ListProjectsRequest) (*ListProjectsResponse, error)
func (UnimplementedProjectServiceServer) UpdateProject ¶
func (UnimplementedProjectServiceServer) UpdateProject(context.Context, *UpdateProjectRequest) (*Project, error)
type UnimplementedTaskServiceServer ¶
type UnimplementedTaskServiceServer struct { }
UnimplementedTaskServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedTaskServiceServer) CreateTask ¶
func (UnimplementedTaskServiceServer) CreateTask(context.Context, *CreateTaskRequest) (*Task, error)
func (UnimplementedTaskServiceServer) DeleteTask ¶
func (UnimplementedTaskServiceServer) DeleteTask(context.Context, *DeleteTaskRequest) (*emptypb.Empty, error)
func (UnimplementedTaskServiceServer) GetTask ¶
func (UnimplementedTaskServiceServer) GetTask(context.Context, *GetTaskRequest) (*GetTaskResponse, error)
func (UnimplementedTaskServiceServer) ListTasks ¶
func (UnimplementedTaskServiceServer) ListTasks(context.Context, *ListTasksRequest) (*ListTasksResponse, error)
func (UnimplementedTaskServiceServer) SetTaskDone ¶
func (UnimplementedTaskServiceServer) SetTaskDone(context.Context, *SetTaskDoneRequest) (*emptypb.Empty, error)
func (UnimplementedTaskServiceServer) UpdateTask ¶
func (UnimplementedTaskServiceServer) UpdateTask(context.Context, *UpdateTaskRequest) (*Task, error)
type UnsafeActivityServiceServer ¶
type UnsafeActivityServiceServer interface {
// contains filtered or unexported methods
}
UnsafeActivityServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ActivityServiceServer will result in compilation errors.
type UnsafeCommentServiceServer ¶
type UnsafeCommentServiceServer interface {
// contains filtered or unexported methods
}
UnsafeCommentServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CommentServiceServer will result in compilation errors.
type UnsafeProjectServiceServer ¶
type UnsafeProjectServiceServer interface {
// contains filtered or unexported methods
}
UnsafeProjectServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProjectServiceServer will result in compilation errors.
type UnsafeTaskServiceServer ¶
type UnsafeTaskServiceServer interface {
// contains filtered or unexported methods
}
UnsafeTaskServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TaskServiceServer will result in compilation errors.
type UpdateProjectRequest ¶
type UpdateProjectRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*UpdateProjectRequest) Descriptor
deprecated
func (*UpdateProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateProjectRequest.ProtoReflect.Descriptor instead.
func (*UpdateProjectRequest) GetId ¶
func (x *UpdateProjectRequest) GetId() int64
func (*UpdateProjectRequest) GetName ¶
func (x *UpdateProjectRequest) GetName() string
func (*UpdateProjectRequest) ProtoMessage ¶
func (*UpdateProjectRequest) ProtoMessage()
func (*UpdateProjectRequest) ProtoReflect ¶
func (x *UpdateProjectRequest) ProtoReflect() protoreflect.Message
func (*UpdateProjectRequest) Reset ¶
func (x *UpdateProjectRequest) Reset()
func (*UpdateProjectRequest) String ¶
func (x *UpdateProjectRequest) String() string
type UpdateTaskRequest ¶
type UpdateTaskRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Task *TaskUpdate `protobuf:"bytes,2,opt,name=task,proto3" json:"task,omitempty"` // contains filtered or unexported fields }
func (*UpdateTaskRequest) Descriptor
deprecated
func (*UpdateTaskRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTaskRequest.ProtoReflect.Descriptor instead.
func (*UpdateTaskRequest) GetId ¶
func (x *UpdateTaskRequest) GetId() int64
func (*UpdateTaskRequest) GetTask ¶
func (x *UpdateTaskRequest) GetTask() *TaskUpdate
func (*UpdateTaskRequest) ProtoMessage ¶
func (*UpdateTaskRequest) ProtoMessage()
func (*UpdateTaskRequest) ProtoReflect ¶
func (x *UpdateTaskRequest) ProtoReflect() protoreflect.Message
func (*UpdateTaskRequest) Reset ¶
func (x *UpdateTaskRequest) Reset()
func (*UpdateTaskRequest) String ¶
func (x *UpdateTaskRequest) String() string