Documentation ¶
Index ¶
- type LoggerRepository
- type MongoRepository
- type UserInteractor
- func (ui *UserInteractor) Destroy(userId string) (interface{}, error)
- func (ui *UserInteractor) Index() (model.Users, error)
- func (ui *UserInteractor) Show(userId string) (model.User, error)
- func (ui *UserInteractor) Store(user model.User) (interface{}, error)
- func (ui *UserInteractor) Update(userId string, user model.User) (interface{}, error)
- type UserService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoggerRepository ¶
type MongoRepository ¶
type UserInteractor ¶
type UserInteractor struct {
UserRepository UserService
}
func (*UserInteractor) Destroy ¶
func (ui *UserInteractor) Destroy(userId string) (interface{}, error)
Click to show internal directories.
Click to hide internal directories.