services

package
v0.0.0-...-14aa544 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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

func (*TodoService) Add

func (s *TodoService) Add(req *pb.AddReq) (todo *pb.Todo, pbErr *pb.Error)

func (*TodoService) Del

func (s *TodoService) Del(req *pb.DelReq) (pbErr *pb.Error)

func (*TodoService) Edit

func (s *TodoService) Edit(req *pb.EditReq) (pbErr *pb.Error)

func (*TodoService) Get

func (s *TodoService) Get(req *pb.DetailReq) (todo *pb.Todo, pbErr *pb.Error)

func (*TodoService) GetAll

func (s *TodoService) GetAll() (todos []*pb.Todo, pbErr *pb.Error)

Jump to

Keyboard shortcuts

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