Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { Log *log.Logger DB *database.DB Field string // Context field for Sessiondata IPField string // Context field for Real ip }
Service holds service attributes
func (*Service) UserSetPassword ¶
func (srv *Service) UserSetPassword(r *http.Request, args *UserSetPasswordArgs, result *int64) error
UserSetPassword - set new password
type UserSetPasswordArgs ¶
type UserSetPasswordArgs struct {
Password, Password2 string
}
UserSetPasswordArgs - аргументы метода UserSetPassword
Click to show internal directories.
Click to hide internal directories.