Documentation ¶
Index ¶
- type User
- func (h *User) Delete(ctx *macaron.Context)
- func (h *User) Find(search string, page, perPage int) (int, interface{})
- func (h *User) FindByID(sID string) (int, interface{})
- func (h *User) FindByIdAndRemove(sID string) (int, interface{})
- func (h *User) FindByIdAndReplace(user model.User, sID string) (int, interface{})
- func (h *User) GetList(ctx *macaron.Context)
- func (h *User) GetOne(ctx *macaron.Context)
- func (h *User) Post(user model.User, ctx *macaron.Context)
- func (h *User) Put(user model.User, ctx *macaron.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct {
Service service.IUserService
}
func NewUserHandler ¶
func NewUserHandler() *User
func (*User) FindByIdAndRemove ¶
func (*User) FindByIdAndReplace ¶
Click to show internal directories.
Click to hide internal directories.