app

package
v0.0.0-...-e0cbe86 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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

func (m *KangoBoardServer) UpdateTask(ctx context.Context, req *desc.Task) (*desc.Task, error)

Jump to

Keyboard shortcuts

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