Documentation ¶
Index ¶
- type CreateUserRequestBody
- type ResponseDto
- type Service
- func (s *Service) CreateUser(rw http.ResponseWriter, rq *http.Request) (interface{}, error)
- func (s *Service) GetUser(rw http.ResponseWriter, rq *http.Request) (interface{}, error)
- func (s *Service) ListUsers(rw http.ResponseWriter, rq *http.Request) (interface{}, error)
- func (s *Service) RemoveUser(rw http.ResponseWriter, rq *http.Request) (interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateUserRequestBody ¶
type ResponseDto ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(repository models.UserRepository) *Service
func (*Service) CreateUser ¶
func (*Service) RemoveUser ¶
Click to show internal directories.
Click to hide internal directories.