Documentation
¶
Index ¶
- Variables
- type GreeterService
- type HouseSvcService
- type UserSvcService
- func (s *UserSvcService) GetPaginatedUsers(ctx context.Context, req *pb.ListUserRequest) (*pb.ListUserReply, error)
- func (s *UserSvcService) GetUserByMobile(ctx context.Context, req *pb.GetUserRequest) (*pb.GetUserReply, error)
- func (s *UserSvcService) GetUserByUserId(ctx context.Context, req *pb.GetUserRequest) (*pb.GetUserReply, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewGreeterService, NewHouseSvcService, NewUserSvcService)
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 ¶
func (s *HouseSvcService) PaginatedListHouse(ctx context.Context, req *v1.PagintatedListHouseRequest) (*v1.PaginatedListListHouseReply, error)
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)
Click to show internal directories.
Click to hide internal directories.