auth

package
v0.0.0-...-7208f07 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(NewImpl)

ProviderSet is a provider set for wire

Functions

This section is empty.

Types

type IHandler

type IHandler interface {
	GetLoginURL(c *gin.Context)

	Callback(c *gin.Context)

	Me(c *gin.Context)
}

IHandler declare auth handlers

func CreateIHandler

func CreateIHandler(r *gin.Engine, biz auth.IAuthBiz) (IHandler, error)

func NewImpl

func NewImpl(r *gin.Engine, biz auth.IAuthBiz) IHandler

NewImpl return IHandler

Jump to

Keyboard shortcuts

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