httphandlers

package
v0.0.0-...-606e2ae Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GithubCallbackHandler

func GithubCallbackHandler(w http.ResponseWriter, r *http.Request)

GithubCallbackHandler performs retrieval of github user data after successful login

func GithubLoginHandler

func GithubLoginHandler(w http.ResponseWriter, r *http.Request)

GithubLoginHandler handles login request `/login/github/` for Github auth provider

func LoggedinHandler

func LoggedinHandler(w http.ResponseWriter, r *http.Request, githubAccessToken string)

LoggedinHandler handles callback request

func RootHandler

func RootHandler(w http.ResponseWriter, r *http.Request)

RootHandler handles `/` request

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL