Documentation
¶
Index ¶
- func Health(w http.ResponseWriter, _ *http.Request)
- func NewTwitterHandler(session *scs.SessionManager) *twitterHandler
- type CallbackRequest
- type FacebookCallbackRequest
- type FacebookHandler
- type GitHubHandler
- type GoogleCallbackRequest
- type GoogleHandler
- type SignHandler
- type SignIn
- type SignUp
- type TwitterCallbackRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTwitterHandler ¶
func NewTwitterHandler(session *scs.SessionManager) *twitterHandler
Types ¶
type CallbackRequest ¶
type FacebookCallbackRequest ¶
type FacebookHandler ¶
type FacebookHandler struct { }
func (*FacebookHandler) AuthRedirect ¶
func (h *FacebookHandler) AuthRedirect(w http.ResponseWriter, r *http.Request)
func (*FacebookHandler) Callback ¶
func (h *FacebookHandler) Callback(w http.ResponseWriter, r *http.Request)
type GitHubHandler ¶
type GitHubHandler struct { }
func (*GitHubHandler) AuthRedirect ¶
func (h *GitHubHandler) AuthRedirect(w http.ResponseWriter, r *http.Request)
func (*GitHubHandler) Callback ¶
func (h *GitHubHandler) Callback(w http.ResponseWriter, r *http.Request)
type GoogleCallbackRequest ¶
type GoogleHandler ¶
type GoogleHandler struct { }
func (*GoogleHandler) AuthRedirect ¶
func (h *GoogleHandler) AuthRedirect(w http.ResponseWriter, r *http.Request)
func (*GoogleHandler) Callback ¶
func (h *GoogleHandler) Callback(w http.ResponseWriter, r *http.Request)
type SignHandler ¶
type SignHandler struct {
// contains filtered or unexported fields
}
func NewSignHandler ¶
func NewSignHandler(session *scs.SessionManager, r model.UserRepository) SignHandler
func (*SignHandler) SignIn ¶
func (h *SignHandler) SignIn(w http.ResponseWriter, r *http.Request)
func (*SignHandler) SignUp ¶
func (h *SignHandler) SignUp(w http.ResponseWriter, r *http.Request)
type TwitterCallbackRequest ¶
Click to show internal directories.
Click to hide internal directories.