Documentation ¶
Index ¶
- func RegisterActivityServiceServer(s *grpc.Server, srv ActivityServiceServer)
- type Activity
- func (*Activity) Descriptor() ([]byte, []int)
- func (m *Activity) GetContent() *any.Any
- func (m *Activity) GetCreatedAt() *timestamp.Timestamp
- func (m *Activity) GetId() uint64
- func (m *Activity) GetUserId() uint64
- func (*Activity) ProtoMessage()
- func (m *Activity) Reset()
- func (m *Activity) String() string
- func (m *Activity) XXX_DiscardUnknown()
- func (m *Activity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Activity) XXX_Merge(src proto.Message)
- func (m *Activity) XXX_Size() int
- func (m *Activity) XXX_Unmarshal(b []byte) error
- type ActivityServiceClient
- type ActivityServiceServer
- type CreateActivityRequest
- func (*CreateActivityRequest) Descriptor() ([]byte, []int)
- func (m *CreateActivityRequest) GetContent() *any.Any
- func (*CreateActivityRequest) ProtoMessage()
- func (m *CreateActivityRequest) Reset()
- func (m *CreateActivityRequest) String() string
- func (m *CreateActivityRequest) XXX_DiscardUnknown()
- func (m *CreateActivityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateActivityRequest) XXX_Merge(src proto.Message)
- func (m *CreateActivityRequest) XXX_Size() int
- func (m *CreateActivityRequest) XXX_Unmarshal(b []byte) error
- type CreateProjectContent
- func (*CreateProjectContent) Descriptor() ([]byte, []int)
- func (m *CreateProjectContent) GetProjectId() uint64
- func (m *CreateProjectContent) GetProjectName() string
- func (*CreateProjectContent) ProtoMessage()
- func (m *CreateProjectContent) Reset()
- func (m *CreateProjectContent) String() string
- func (m *CreateProjectContent) XXX_DiscardUnknown()
- func (m *CreateProjectContent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateProjectContent) XXX_Merge(src proto.Message)
- func (m *CreateProjectContent) XXX_Size() int
- func (m *CreateProjectContent) XXX_Unmarshal(b []byte) error
- type CreateTaskContent
- func (*CreateTaskContent) Descriptor() ([]byte, []int)
- func (m *CreateTaskContent) GetTaskId() uint64
- func (m *CreateTaskContent) GetTaskName() string
- func (*CreateTaskContent) ProtoMessage()
- func (m *CreateTaskContent) Reset()
- func (m *CreateTaskContent) String() string
- func (m *CreateTaskContent) XXX_DiscardUnknown()
- func (m *CreateTaskContent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateTaskContent) XXX_Merge(src proto.Message)
- func (m *CreateTaskContent) XXX_Size() int
- func (m *CreateTaskContent) XXX_Unmarshal(b []byte) error
- type FindActivitiesResponse
- func (*FindActivitiesResponse) Descriptor() ([]byte, []int)
- func (m *FindActivitiesResponse) GetActivities() []*Activity
- func (*FindActivitiesResponse) ProtoMessage()
- func (m *FindActivitiesResponse) Reset()
- func (m *FindActivitiesResponse) String() string
- func (m *FindActivitiesResponse) XXX_DiscardUnknown()
- func (m *FindActivitiesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FindActivitiesResponse) XXX_Merge(src proto.Message)
- func (m *FindActivitiesResponse) XXX_Size() int
- func (m *FindActivitiesResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedActivityServiceServer
- type UpdateTaskStatusContent
- func (*UpdateTaskStatusContent) Descriptor() ([]byte, []int)
- func (m *UpdateTaskStatusContent) GetTaskId() uint64
- func (m *UpdateTaskStatusContent) GetTaskName() string
- func (m *UpdateTaskStatusContent) GetTaskStatus() task.Status
- func (*UpdateTaskStatusContent) ProtoMessage()
- func (m *UpdateTaskStatusContent) Reset()
- func (m *UpdateTaskStatusContent) String() string
- func (m *UpdateTaskStatusContent) XXX_DiscardUnknown()
- func (m *UpdateTaskStatusContent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateTaskStatusContent) XXX_Merge(src proto.Message)
- func (m *UpdateTaskStatusContent) XXX_Size() int
- func (m *UpdateTaskStatusContent) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterActivityServiceServer ¶
func RegisterActivityServiceServer(s *grpc.Server, srv ActivityServiceServer)
Types ¶
type Activity ¶
type Activity struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Content *any.Any `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` UserId uint64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Activity) Descriptor ¶
func (*Activity) GetContent ¶
func (*Activity) GetCreatedAt ¶
func (*Activity) ProtoMessage ¶
func (*Activity) ProtoMessage()
func (*Activity) XXX_DiscardUnknown ¶
func (m *Activity) XXX_DiscardUnknown()
func (*Activity) XXX_Marshal ¶
func (*Activity) XXX_Unmarshal ¶
type ActivityServiceClient ¶
type ActivityServiceClient interface { CreateActivity(ctx context.Context, in *CreateActivityRequest, opts ...grpc.CallOption) (*empty.Empty, error) FindActivities(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*FindActivitiesResponse, error) }
ActivityServiceClient is the client API for ActivityService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewActivityServiceClient ¶
func NewActivityServiceClient(cc *grpc.ClientConn) ActivityServiceClient
type ActivityServiceServer ¶
type ActivityServiceServer interface { CreateActivity(context.Context, *CreateActivityRequest) (*empty.Empty, error) FindActivities(context.Context, *empty.Empty) (*FindActivitiesResponse, error) }
ActivityServiceServer is the server API for ActivityService service.
type CreateActivityRequest ¶
type CreateActivityRequest struct { Content *any.Any `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateActivityRequest) Descriptor ¶
func (*CreateActivityRequest) Descriptor() ([]byte, []int)
func (*CreateActivityRequest) GetContent ¶
func (m *CreateActivityRequest) GetContent() *any.Any
func (*CreateActivityRequest) ProtoMessage ¶
func (*CreateActivityRequest) ProtoMessage()
func (*CreateActivityRequest) Reset ¶
func (m *CreateActivityRequest) Reset()
func (*CreateActivityRequest) String ¶
func (m *CreateActivityRequest) String() string
func (*CreateActivityRequest) XXX_DiscardUnknown ¶
func (m *CreateActivityRequest) XXX_DiscardUnknown()
func (*CreateActivityRequest) XXX_Marshal ¶
func (m *CreateActivityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateActivityRequest) XXX_Merge ¶
func (m *CreateActivityRequest) XXX_Merge(src proto.Message)
func (*CreateActivityRequest) XXX_Size ¶
func (m *CreateActivityRequest) XXX_Size() int
func (*CreateActivityRequest) XXX_Unmarshal ¶
func (m *CreateActivityRequest) XXX_Unmarshal(b []byte) error
type CreateProjectContent ¶
type CreateProjectContent struct { ProjectId uint64 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` ProjectName string `protobuf:"bytes,2,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateProjectContent) Descriptor ¶
func (*CreateProjectContent) Descriptor() ([]byte, []int)
func (*CreateProjectContent) GetProjectId ¶
func (m *CreateProjectContent) GetProjectId() uint64
func (*CreateProjectContent) GetProjectName ¶
func (m *CreateProjectContent) GetProjectName() string
func (*CreateProjectContent) ProtoMessage ¶
func (*CreateProjectContent) ProtoMessage()
func (*CreateProjectContent) Reset ¶
func (m *CreateProjectContent) Reset()
func (*CreateProjectContent) String ¶
func (m *CreateProjectContent) String() string
func (*CreateProjectContent) XXX_DiscardUnknown ¶
func (m *CreateProjectContent) XXX_DiscardUnknown()
func (*CreateProjectContent) XXX_Marshal ¶
func (m *CreateProjectContent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateProjectContent) XXX_Merge ¶
func (m *CreateProjectContent) XXX_Merge(src proto.Message)
func (*CreateProjectContent) XXX_Size ¶
func (m *CreateProjectContent) XXX_Size() int
func (*CreateProjectContent) XXX_Unmarshal ¶
func (m *CreateProjectContent) XXX_Unmarshal(b []byte) error
type CreateTaskContent ¶
type CreateTaskContent struct { TaskId uint64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` TaskName string `protobuf:"bytes,2,opt,name=task_name,json=taskName,proto3" json:"task_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateTaskContent) Descriptor ¶
func (*CreateTaskContent) Descriptor() ([]byte, []int)
func (*CreateTaskContent) GetTaskId ¶
func (m *CreateTaskContent) GetTaskId() uint64
func (*CreateTaskContent) GetTaskName ¶
func (m *CreateTaskContent) GetTaskName() string
func (*CreateTaskContent) ProtoMessage ¶
func (*CreateTaskContent) ProtoMessage()
func (*CreateTaskContent) Reset ¶
func (m *CreateTaskContent) Reset()
func (*CreateTaskContent) String ¶
func (m *CreateTaskContent) String() string
func (*CreateTaskContent) XXX_DiscardUnknown ¶
func (m *CreateTaskContent) XXX_DiscardUnknown()
func (*CreateTaskContent) XXX_Marshal ¶
func (m *CreateTaskContent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateTaskContent) XXX_Merge ¶
func (m *CreateTaskContent) XXX_Merge(src proto.Message)
func (*CreateTaskContent) XXX_Size ¶
func (m *CreateTaskContent) XXX_Size() int
func (*CreateTaskContent) XXX_Unmarshal ¶
func (m *CreateTaskContent) XXX_Unmarshal(b []byte) error
type FindActivitiesResponse ¶
type FindActivitiesResponse struct { Activities []*Activity `protobuf:"bytes,1,rep,name=activities,proto3" json:"activities,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FindActivitiesResponse) Descriptor ¶
func (*FindActivitiesResponse) Descriptor() ([]byte, []int)
func (*FindActivitiesResponse) GetActivities ¶
func (m *FindActivitiesResponse) GetActivities() []*Activity
func (*FindActivitiesResponse) ProtoMessage ¶
func (*FindActivitiesResponse) ProtoMessage()
func (*FindActivitiesResponse) Reset ¶
func (m *FindActivitiesResponse) Reset()
func (*FindActivitiesResponse) String ¶
func (m *FindActivitiesResponse) String() string
func (*FindActivitiesResponse) XXX_DiscardUnknown ¶
func (m *FindActivitiesResponse) XXX_DiscardUnknown()
func (*FindActivitiesResponse) XXX_Marshal ¶
func (m *FindActivitiesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FindActivitiesResponse) XXX_Merge ¶
func (m *FindActivitiesResponse) XXX_Merge(src proto.Message)
func (*FindActivitiesResponse) XXX_Size ¶
func (m *FindActivitiesResponse) XXX_Size() int
func (*FindActivitiesResponse) XXX_Unmarshal ¶
func (m *FindActivitiesResponse) XXX_Unmarshal(b []byte) error
type UnimplementedActivityServiceServer ¶
type UnimplementedActivityServiceServer struct { }
UnimplementedActivityServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedActivityServiceServer) CreateActivity ¶
func (*UnimplementedActivityServiceServer) CreateActivity(ctx context.Context, req *CreateActivityRequest) (*empty.Empty, error)
func (*UnimplementedActivityServiceServer) FindActivities ¶
func (*UnimplementedActivityServiceServer) FindActivities(ctx context.Context, req *empty.Empty) (*FindActivitiesResponse, error)
type UpdateTaskStatusContent ¶
type UpdateTaskStatusContent struct { TaskId uint64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` TaskName string `protobuf:"bytes,2,opt,name=task_name,json=taskName,proto3" json:"task_name,omitempty"` TaskStatus task.Status `protobuf:"varint,3,opt,name=task_status,json=taskStatus,proto3,enum=task.Status" json:"task_status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateTaskStatusContent) Descriptor ¶
func (*UpdateTaskStatusContent) Descriptor() ([]byte, []int)
func (*UpdateTaskStatusContent) GetTaskId ¶
func (m *UpdateTaskStatusContent) GetTaskId() uint64
func (*UpdateTaskStatusContent) GetTaskName ¶
func (m *UpdateTaskStatusContent) GetTaskName() string
func (*UpdateTaskStatusContent) GetTaskStatus ¶
func (m *UpdateTaskStatusContent) GetTaskStatus() task.Status
func (*UpdateTaskStatusContent) ProtoMessage ¶
func (*UpdateTaskStatusContent) ProtoMessage()
func (*UpdateTaskStatusContent) Reset ¶
func (m *UpdateTaskStatusContent) Reset()
func (*UpdateTaskStatusContent) String ¶
func (m *UpdateTaskStatusContent) String() string
func (*UpdateTaskStatusContent) XXX_DiscardUnknown ¶
func (m *UpdateTaskStatusContent) XXX_DiscardUnknown()
func (*UpdateTaskStatusContent) XXX_Marshal ¶
func (m *UpdateTaskStatusContent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateTaskStatusContent) XXX_Merge ¶
func (m *UpdateTaskStatusContent) XXX_Merge(src proto.Message)
func (*UpdateTaskStatusContent) XXX_Size ¶
func (m *UpdateTaskStatusContent) XXX_Size() int
func (*UpdateTaskStatusContent) XXX_Unmarshal ¶
func (m *UpdateTaskStatusContent) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.