controllers

package
v0.0.0-...-5c97e34 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HealthController

type HealthController struct{}

func NewHealthController

func NewHealthController() *HealthController

func (*HealthController) Health

func (h *HealthController) Health(c *gin.Context)

GET /health

type OAuthController

type OAuthController struct {
	// contains filtered or unexported fields
}

func NewOAuthController

func NewOAuthController(oauthConfig *oauth2.Config, tokenService *services.TokenService) *OAuthController

func (*OAuthController) Callback

func (o *OAuthController) Callback(c *gin.Context)

GET /callback

func (*OAuthController) Login

func (o *OAuthController) Login(c *gin.Context)

GET /login

func (*OAuthController) Logout

func (o *OAuthController) Logout(c *gin.Context)

POST /logout

Jump to

Keyboard shortcuts

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