Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserServiceImpl ¶
type UserServiceImpl struct {
UserRepository repository.UserRepositoryIOCInterface `singleton:""`
}
+ioc:autowire=true +ioc:autowire:type=singleton
func GetUserServiceImplSingleton ¶
func GetUserServiceImplSingleton() (*UserServiceImpl, error)
func (*UserServiceImpl) UserInfo ¶
func (s *UserServiceImpl) UserInfo(ctx context.Context, in *pb.UserInfoRequest) (*pb.UserInfoResponse, error)
UserInfo implements query.UserService
func (*UserServiceImpl) UserPage ¶
func (s *UserServiceImpl) UserPage(ctx context.Context, in *pb.UserPageRequest) (*pb.UserPageResponse, error)
UserPage implements query.UserService
type UserServiceImplIOCInterface ¶
type UserServiceImplIOCInterface interface { UserInfo(ctx contextx.Context, in *pb.UserInfoRequest) (*pb.UserInfoResponse, error) UserPage(ctx contextx.Context, in *pb.UserPageRequest) (*pb.UserPageResponse, error) }
func GetUserServiceImplIOCInterfaceSingleton ¶
func GetUserServiceImplIOCInterfaceSingleton() (UserServiceImplIOCInterface, error)
Click to show internal directories.
Click to hide internal directories.