Documentation ¶
Index ¶
- type TdAdapter
- func (a *TdAdapter) CreateTodo(ctx context.Context, in *todopb.CreateTodoRequest) (*todopb.CreateTodoReply, error)
- func (a *TdAdapter) DeleteTodo(ctx context.Context, in *todopb.DeleteTodoRequest) (*todopb.DeleteTodoReply, error)
- func (a *TdAdapter) DoneTodo(ctx context.Context, in *todopb.DoneTodoRequest) (*todopb.DoneTodoReply, error)
- func (a *TdAdapter) GetTodoList(ctx context.Context, in *todopb.GetTodoListRequest) (*todopb.GetTodoListReply, error)
- func (a *TdAdapter) UnDoneTodo(ctx context.Context, in *todopb.UnDoneTodoRequest) (*todopb.UnDoneTodoReply, error)
- func (a *TdAdapter) UpdateTodoTitle(ctx context.Context, in *todopb.UpdateTodoTitleRequest) (*todopb.UpdateTodoTitleReply, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TdAdapter ¶
type TdAdapter struct {
// contains filtered or unexported fields
}
TdAdapter adapter
func NewTdAdapter ¶
NewTdAdapter return Adapter
func (*TdAdapter) CreateTodo ¶
func (a *TdAdapter) CreateTodo(ctx context.Context, in *todopb.CreateTodoRequest) (*todopb.CreateTodoReply, error)
func (*TdAdapter) DeleteTodo ¶
func (a *TdAdapter) DeleteTodo(ctx context.Context, in *todopb.DeleteTodoRequest) (*todopb.DeleteTodoReply, error)
func (*TdAdapter) DoneTodo ¶
func (a *TdAdapter) DoneTodo(ctx context.Context, in *todopb.DoneTodoRequest) (*todopb.DoneTodoReply, error)
func (*TdAdapter) GetTodoList ¶
func (a *TdAdapter) GetTodoList(ctx context.Context, in *todopb.GetTodoListRequest) (*todopb.GetTodoListReply, error)
func (*TdAdapter) UnDoneTodo ¶
func (a *TdAdapter) UnDoneTodo(ctx context.Context, in *todopb.UnDoneTodoRequest) (*todopb.UnDoneTodoReply, error)
func (*TdAdapter) UpdateTodoTitle ¶
func (a *TdAdapter) UpdateTodoTitle(ctx context.Context, in *todopb.UpdateTodoTitleRequest) (*todopb.UpdateTodoTitleReply, error)
Click to show internal directories.
Click to hide internal directories.