handler

package
v0.0.0-...-12d229b Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSession

func CreateSession(email string, w http.ResponseWriter) error

Types

type DefaultHandler

type DefaultHandler struct{}

func (DefaultHandler) Index

func (handler DefaultHandler) Index(c *gin.Context)

func (DefaultHandler) Login

func (handler DefaultHandler) Login(c *gin.Context)

func (DefaultHandler) Logout

func (handler DefaultHandler) Logout(c *gin.Context)

func (DefaultHandler) PartialRegister

func (handler DefaultHandler) PartialRegister(c *gin.Context)

func (DefaultHandler) Register

func (handler DefaultHandler) Register(c *gin.Context)

func (DefaultHandler) RegisterAccountFromOauth

func (handler DefaultHandler) RegisterAccountFromOauth(c *gin.Context)

type GithubHandler

type GithubHandler struct{}

func (GithubHandler) CompleteGithubOauth

func (handler GithubHandler) CompleteGithubOauth(c *gin.Context)

func (GithubHandler) StartGithubOauth

func (handler GithubHandler) StartGithubOauth(c *gin.Context)

type GoogleHandler

type GoogleHandler struct{}

func (GoogleHandler) CompleteGoogleOauth

func (handler GoogleHandler) CompleteGoogleOauth(c *gin.Context)

func (GoogleHandler) StartGoogleOauth

func (handler GoogleHandler) StartGoogleOauth(c *gin.Context)

Jump to

Keyboard shortcuts

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