v1

package
v0.0.0-...-0e6535b Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2021 License: MIT 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 {
	v1.UnimplementedToDoServiceServer
	// contains filtered or unexported fields
}

ToDoService implements the v1.ToDoServiceServer proto interface

func NewToDoService

func NewToDoService() *ToDoService

NewToDoService creates and returns a new ToDoService

func (*ToDoService) Create

func (s *ToDoService) Create(ctx context.Context, req *v1.CreateRequest) (*v1.CreateResponse, error)

Create a todo task

func (*ToDoService) Delete

func (s *ToDoService) Delete(ctx context.Context, req *v1.DeleteRequest) (*v1.DeleteResponse, error)

Delete a todo task

func (*ToDoService) Read

func (s *ToDoService) Read(ctx context.Context, req *v1.ReadRequest) (*v1.ReadResponse, error)

Read a todo task

func (*ToDoService) ReadAll

func (s *ToDoService) ReadAll(ctx context.Context, req *v1.ReadAllRequest) (*v1.ReadAllResponse, error)

ReadAll todo tasks

func (*ToDoService) Update

func (s *ToDoService) Update(ctx context.Context, req *v1.UpdateRequest) (*v1.UpdateResponse, error)

Update a todo task

Jump to

Keyboard shortcuts

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