Documentation ¶
Index ¶
- type TodoService
- func (s *TodoService) Add(req *pb.AddReq) (todo *pb.Todo, pbErr *pb.Error)
- func (s *TodoService) Del(req *pb.DelReq) (pbErr *pb.Error)
- func (s *TodoService) Edit(req *pb.EditReq) (pbErr *pb.Error)
- func (s *TodoService) Get(req *pb.DetailReq) (todo *pb.Todo, pbErr *pb.Error)
- func (s *TodoService) GetAll() (todos []*pb.Todo, pbErr *pb.Error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TodoService ¶
type TodoService struct { }
func GetTodosService ¶
func GetTodosService() *TodoService
Click to show internal directories.
Click to hide internal directories.