Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthController ¶
type AuthController struct {
// contains filtered or unexported fields
}
func NewAuthController ¶
func NewAuthController(service interfaces.AuthService) *AuthController
func (*AuthController) Login ¶
func (ac *AuthController) Login(w http.ResponseWriter, r *http.Request, p httprouter.Params)
func (*AuthController) Logout ¶
func (ac *AuthController) Logout(w http.ResponseWriter, r *http.Request, p httprouter.Params)
func (*AuthController) Register ¶
func (ac *AuthController) Register(w http.ResponseWriter, r *http.Request, p httprouter.Params)
Click to show internal directories.
Click to hide internal directories.