Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserServiceImpl ¶
type UserServiceImpl struct {
HelloServiceClient pb.UserServiceClient `grpc:"user-service"`
}
+ioc:autowire=true +ioc:autowire:type=singleton
func GetUserServiceImplSingleton ¶
func GetUserServiceImplSingleton() (*UserServiceImpl, error)
func (*UserServiceImpl) CreateUser ¶
CreateUser implements service.UserApp
type UserServiceImplIOCInterface ¶
type UserServiceImplIOCInterface interface {
CreateUser(ctx contextx.Context, in model.NewUser) (*model.User, error)
}
func GetUserServiceImplIOCInterfaceSingleton ¶
func GetUserServiceImplIOCInterfaceSingleton() (UserServiceImplIOCInterface, error)
type UserServiceStandaloneImpl ¶
type UserServiceStandaloneImpl struct {
UserService impl.UserServiceImplIOCInterface `singleton:""`
}
+ioc:autowire=true +ioc:autowire:type=singleton
func GetUserServiceStandaloneImplSingleton ¶
func GetUserServiceStandaloneImplSingleton() (*UserServiceStandaloneImpl, error)
func (*UserServiceStandaloneImpl) CreateUser ¶
func (s *UserServiceStandaloneImpl) CreateUser(ctx context.Context, in model.NewUser) (*model.User, error)
CreateUser implements service.UserApp
type UserServiceStandaloneImplIOCInterface ¶
type UserServiceStandaloneImplIOCInterface interface {
CreateUser(ctx contextx.Context, in model.NewUser) (*model.User, error)
}
func GetUserServiceStandaloneImplIOCInterfaceSingleton ¶
func GetUserServiceStandaloneImplIOCInterfaceSingleton() (UserServiceStandaloneImplIOCInterface, error)
Click to show internal directories.
Click to hide internal directories.