Documentation ¶
Index ¶
- func NewUserServiceApplication(getUsers port.GetUsersUseCase, getUser port.GetUserUseCase, ...) port.UserServiceApplication
- type UserServiceApplication
- func (s *UserServiceApplication) CreateUser(input port.CreateUserInputServiceApplication) (port.CreateUserOutputServiceApplication, error)
- func (s *UserServiceApplication) DeleteUser(input port.DeleteUserInputServiceApplication) (port.DeleteUserOutputServiceApplication, error)
- func (s *UserServiceApplication) DisableUserLogin(input port.DisableUserLoginInputServiceApplication) (port.DisableUserLoginOutputServiceApplication, error)
- func (s *UserServiceApplication) EnableUserLogin(input port.EnableUserLoginInputServiceApplication) (port.EnableUserLoginOutputServiceApplication, error)
- func (s *UserServiceApplication) GetUser(input port.GetUserInputServiceApplication) (port.GetUserOutputServiceApplication, error)
- func (s *UserServiceApplication) GetUsers(input port.GetUsersInputServiceApplication) (port.GetUsersOutputServiceApplication, error)
- func (s *UserServiceApplication) UpdateUser(input port.UpdateUserInputServiceApplication) (port.UpdateUserOutputServiceApplication, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUserServiceApplication ¶
func NewUserServiceApplication( getUsers port.GetUsersUseCase, getUser port.GetUserUseCase, createUser port.CreateUserUseCase, deleteUser port.DeleteUserUseCase, updateUser port.UpdateUserUseCase, disableUserLogin port.DisableUserLoginUseCase, enableUserLogin port.EnableUserLoginUseCase, ) port.UserServiceApplication
Types ¶
type UserServiceApplication ¶
type UserServiceApplication struct {
// contains filtered or unexported fields
}
func (*UserServiceApplication) CreateUser ¶
func (s *UserServiceApplication) CreateUser(input port.CreateUserInputServiceApplication) (port.CreateUserOutputServiceApplication, error)
func (*UserServiceApplication) DeleteUser ¶
func (s *UserServiceApplication) DeleteUser(input port.DeleteUserInputServiceApplication) (port.DeleteUserOutputServiceApplication, error)
func (*UserServiceApplication) DisableUserLogin ¶
func (s *UserServiceApplication) DisableUserLogin(input port.DisableUserLoginInputServiceApplication) (port.DisableUserLoginOutputServiceApplication, error)
func (*UserServiceApplication) EnableUserLogin ¶
func (s *UserServiceApplication) EnableUserLogin(input port.EnableUserLoginInputServiceApplication) (port.EnableUserLoginOutputServiceApplication, error)
func (*UserServiceApplication) GetUser ¶
func (s *UserServiceApplication) GetUser(input port.GetUserInputServiceApplication) (port.GetUserOutputServiceApplication, error)
func (*UserServiceApplication) GetUsers ¶
func (s *UserServiceApplication) GetUsers(input port.GetUsersInputServiceApplication) (port.GetUsersOutputServiceApplication, error)
func (*UserServiceApplication) UpdateUser ¶
func (s *UserServiceApplication) UpdateUser(input port.UpdateUserInputServiceApplication) (port.UpdateUserOutputServiceApplication, error)
Click to show internal directories.
Click to hide internal directories.