grpc

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(config config.Config, logger log.Logger, handler *Handler)

Serve serves grpc server on given port

Types

type Handler

type Handler struct {
	rpc.UnimplementedTodoServiceServer
	// contains filtered or unexported fields
}

func New

func New(todoService app.UseCase, logger log.Logger) *Handler

func (*Handler) ListTodoList

func (h *Handler) ListTodoList(ctx context.Context, request *rpc.ListTodoListRequest) (*rpc.ListTodoListResponse, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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