Documentation ¶
Index ¶
- type UserController
- func (uc UserController) AuthenticateUser(res http.ResponseWriter, req *http.Request)
- func (uc UserController) CreateUser(res http.ResponseWriter, req *http.Request)
- func (uc UserController) DecodeToken(res http.ResponseWriter, req *http.Request)
- func (uc UserController) GetTokenHandler(res http.ResponseWriter, r *http.Request)
- func (uc UserController) GetUser(res http.ResponseWriter, req *http.Request)
- func (uc UserController) RemoveUser(res http.ResponseWriter, req *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserController ¶
type UserController struct {
// contains filtered or unexported fields
}
func NewUserController ¶
func NewUserController(session *mgo.Session) *UserController
func (UserController) AuthenticateUser ¶
func (uc UserController) AuthenticateUser(res http.ResponseWriter, req *http.Request)
func (UserController) CreateUser ¶
func (uc UserController) CreateUser(res http.ResponseWriter, req *http.Request)
func (UserController) DecodeToken ¶
func (uc UserController) DecodeToken(res http.ResponseWriter, req *http.Request)
func (UserController) GetTokenHandler ¶
func (uc UserController) GetTokenHandler(res http.ResponseWriter, r *http.Request)
func (UserController) GetUser ¶
func (uc UserController) GetUser(res http.ResponseWriter, req *http.Request)
func (UserController) RemoveUser ¶
func (uc UserController) RemoveUser(res http.ResponseWriter, req *http.Request)
Click to show internal directories.
Click to hide internal directories.