service

package
v0.0.0-...-60a2efe Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2021 License: MIT Imports: 6 Imported by: 0

README

Service

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is service providers.

Functions

This section is empty.

Types

type GreeterService

type GreeterService struct {
	v1.UnimplementedGreeterServer
	// contains filtered or unexported fields
}

GreeterService is a greeter service.

func NewGreeterService

func NewGreeterService(uc *biz.GreeterUsecase, logger log.Logger) *GreeterService

NewGreeterService new a greeter service.

func (*GreeterService) SayHello

func (s *GreeterService) SayHello(ctx context.Context, in *v1.HelloRequest) (*v1.HelloReply, error)

SayHello implements helloworld.GreeterServer

type PersoncrudService

type PersoncrudService struct {
	pb.UnimplementedPersoncrudServer
}

func NewPersoncrudService

func NewPersoncrudService() *PersoncrudService

func (*PersoncrudService) CreatePerson

func (*PersoncrudService) GetPerson

func (*PersoncrudService) ListPersons

func (*PersoncrudService) UpdatePerson

func (s *PersoncrudService) UpdatePerson(ctx context.Context, req *pb.UpdatePersonRequest) (*pb.PersonReply, error)

Jump to

Keyboard shortcuts

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