Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthController ¶
type AuthController struct { AuthService domain.AuthService Secret string }
Controller for Issue model
func (AuthController) Login ¶
func (c AuthController) Login(w http.ResponseWriter, r *http.Request)
func (AuthController) Verify ¶
func (c AuthController) Verify(w http.ResponseWriter, r *http.Request)
type LoginResponse ¶
type LoginResponse struct {
Token string `json:"token"`
}
Click to show internal directories.
Click to hide internal directories.