Documentation ¶
Index ¶
- type DeleteReq
- type GetReq
- type GetRes
- type RegisterReq
- type RegisterRes
- type ResetPasswordReq
- type UpdateReq
- type UserController
- func (UserController) Add(ctx context.Context, req *RegisterReq) (*RegisterRes, error)
- func (UserController) Delete(ctx context.Context, req *DeleteReq) (*res.BlankRes, error)
- func (UserController) Get(ctx context.Context, req *GetReq) (res *GetRes, err error)
- func (UserController) ResetPassword(ctx context.Context, req *ResetPasswordReq) (*res.BlankRes, error)
- func (UserController) Update(ctx context.Context, req *UpdateReq) (*res.BlankRes, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RegisterReq ¶
type RegisterRes ¶
type RegisterRes struct {
Id uint
}
type ResetPasswordReq ¶
type UserController ¶
func (UserController) Add ¶
func (UserController) Add(ctx context.Context, req *RegisterReq) (*RegisterRes, error)
func (UserController) ResetPassword ¶
func (UserController) ResetPassword(ctx context.Context, req *ResetPasswordReq) (*res.BlankRes, error)
Click to show internal directories.
Click to hide internal directories.