handlers

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

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

Go to latest
Published: Dec 9, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IndexHandler

func IndexHandler(ctx *gin.Context)

Types

type AuthHandler

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

func NewAuthHandler

func NewAuthHandler(authService service.AuthService, loginPage string, cookies config.Cookies, log *logrus.Entry, repo *database.Repo) *AuthHandler

func (*AuthHandler) CallbackHandler

func (h *AuthHandler) CallbackHandler() gin.HandlerFunc

func (*AuthHandler) LoginHandler

func (h *AuthHandler) LoginHandler(dryRun bool) gin.HandlerFunc

func (*AuthHandler) LogoutHandler

func (h *AuthHandler) LogoutHandler() gin.HandlerFunc

type GithubHandler

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

func NewGithubHandler

func NewGithubHandler(githubService service.GithubService, log *logrus.Entry) *GithubHandler

func (*GithubHandler) BranchesHandler

func (h *GithubHandler) BranchesHandler() gin.HandlerFunc

func (*GithubHandler) RepositoriesHandler

func (h *GithubHandler) RepositoriesHandler() gin.HandlerFunc

Jump to

Keyboard shortcuts

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