service

package
v0.0.0-...-abca24b Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 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) *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 HouseSvcService

type HouseSvcService struct {
	v1.UnimplementedHouseSvcServer
	// contains filtered or unexported fields
}

func NewHouseSvcService

func NewHouseSvcService(uc *biz.HouseUsecase) *HouseSvcService

func (*HouseSvcService) PaginatedListHouse

type UserSvcService

type UserSvcService struct {
	pb.UnimplementedUserSvcServer
	// contains filtered or unexported fields
}

func NewUserSvcService

func NewUserSvcService(uc *biz.UserUsecase) *UserSvcService

func (*UserSvcService) GetPaginatedUsers

func (s *UserSvcService) GetPaginatedUsers(ctx context.Context, req *pb.ListUserRequest) (*pb.ListUserReply, error)

func (*UserSvcService) GetUserByMobile

func (s *UserSvcService) GetUserByMobile(ctx context.Context, req *pb.GetUserRequest) (*pb.GetUserReply, error)

func (*UserSvcService) GetUserByUserId

func (s *UserSvcService) GetUserByUserId(ctx context.Context, req *pb.GetUserRequest) (*pb.GetUserReply, error)

Jump to

Keyboard shortcuts

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