Documentation ¶
Index ¶
- type Repo
- type TodoServiceServer
- func (s *TodoServiceServer) AddReminder(ctx context.Context, in *pb.Reminder) (*pb.ReminderId, error)
- func (s *TodoServiceServer) GetRemindersByUserId(in *pb.UserId, in1 pb.TodoService_GetRemindersByUserIdServer) error
- func (s *TodoServiceServer) RemoveReminder(ctx context.Context, in *pb.ReminderId) (*emptypb.Empty, error)
- func (s *TodoServiceServer) SetUser(ctx context.Context, user *pb.User) (_ *emptypb.Empty, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TodoServiceServer ¶
type TodoServiceServer struct { pb.UnimplementedTodoServiceServer // contains filtered or unexported fields }
func New ¶
func New(repo Repo) *TodoServiceServer
func (*TodoServiceServer) AddReminder ¶
func (s *TodoServiceServer) AddReminder(ctx context.Context, in *pb.Reminder) (*pb.ReminderId, error)
func (*TodoServiceServer) GetRemindersByUserId ¶
func (s *TodoServiceServer) GetRemindersByUserId(in *pb.UserId, in1 pb.TodoService_GetRemindersByUserIdServer) error
func (*TodoServiceServer) RemoveReminder ¶
func (s *TodoServiceServer) RemoveReminder(ctx context.Context, in *pb.ReminderId) (*emptypb.Empty, error)
Click to show internal directories.
Click to hide internal directories.