login

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const PORT = 12297
View Source
const REDIRECT_URI = "http://127.0.0.1:12297/callback"

Variables

View Source
var CLIENT_SECRET string

This will get set during build

Functions

func HandleAuthorize

func HandleAuthorize(c *gin.Context)

func HandleCallback

func HandleCallback(c *gin.Context)

Types

type Server

type Server struct {
	Engine *gin.Engine
	Chan   chan creds.Creds
}

func NewServer

func NewServer() *Server

Jump to

Keyboard shortcuts

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