Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderServiceSet = wire.NewSet(NewUserService)
ProviderServiceSet is service providers.
Functions ¶
This section is empty.
Types ¶
type UserService ¶
type UserService struct { Logger *log.Helper pb.UnimplementedUserServer // contains filtered or unexported fields }
func NewUserService ¶
func NewUserService(biz *biz.UserBiz, logger log.Logger) *UserService
func (*UserService) InfoByUsername ¶
func (s *UserService) InfoByUsername(ctx context.Context, req *pb.UsernameRequest) (*pb.UserInfo, error)
Click to show internal directories.
Click to hide internal directories.