Documentation ¶
Index ¶
- type KangoBoardServer
- func (m *KangoBoardServer) CreateBoard(ctx context.Context, req *desc.Board) (*desc.ResourceID, error)
- func (m *KangoBoardServer) CreateTask(ctx context.Context, req *desc.Task) (*desc.ResourceID, error)
- func (m *KangoBoardServer) DeleteTask(ctx context.Context, req *desc.ResourceID) (*emptypb.Empty, error)
- func (m *KangoBoardServer) GetAllBoards(ctx context.Context, req *emptypb.Empty) (*desc.BoardsResponse, error)
- func (m *KangoBoardServer) GetAllTasks(ctx context.Context, req *emptypb.Empty) (*desc.TasksResponse, error)
- func (m *KangoBoardServer) UpdateTask(ctx context.Context, req *desc.Task) (*desc.Task, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KangoBoardServer ¶
type KangoBoardServer struct { desc.UnimplementedKanbanServer // contains filtered or unexported fields }
func NewMicroservice ¶
func NewMicroservice( taskService service.TaskService, boardService service.BoardService, ) *KangoBoardServer
func (*KangoBoardServer) CreateBoard ¶
func (m *KangoBoardServer) CreateBoard(ctx context.Context, req *desc.Board) (*desc.ResourceID, error)
func (*KangoBoardServer) CreateTask ¶
func (m *KangoBoardServer) CreateTask(ctx context.Context, req *desc.Task) (*desc.ResourceID, error)
func (*KangoBoardServer) DeleteTask ¶
func (m *KangoBoardServer) DeleteTask(ctx context.Context, req *desc.ResourceID) (*emptypb.Empty, error)
func (*KangoBoardServer) GetAllBoards ¶
func (m *KangoBoardServer) GetAllBoards(ctx context.Context, req *emptypb.Empty) (*desc.BoardsResponse, error)
func (*KangoBoardServer) GetAllTasks ¶
func (m *KangoBoardServer) GetAllTasks(ctx context.Context, req *emptypb.Empty) (*desc.TasksResponse, error)
func (*KangoBoardServer) UpdateTask ¶
Click to show internal directories.
Click to hide internal directories.