activity

package
v0.0.0-...-3ec158f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

func (*Activity) GetContent

func (m *Activity) GetContent() *any.Any

func (*Activity) GetCreatedAt

func (m *Activity) GetCreatedAt() *timestamp.Timestamp

func (*Activity) GetId

func (m *Activity) GetId() uint64

func (*Activity) GetUserId

func (m *Activity) GetUserId() uint64

func (*Activity) ProtoMessage

func (*Activity) ProtoMessage()

func (*Activity) Reset

func (m *Activity) Reset()

func (*Activity) String

func (m *Activity) String() string

func (*Activity) XXX_DiscardUnknown

func (m *Activity) XXX_DiscardUnknown()

func (*Activity) XXX_Marshal

func (m *Activity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Activity) XXX_Merge

func (m *Activity) XXX_Merge(src proto.Message)

func (*Activity) XXX_Size

func (m *Activity) XXX_Size() int

func (*Activity) XXX_Unmarshal

func (m *Activity) XXX_Unmarshal(b []byte) error

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) FindActivities

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL