router

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidApiBaseURL = fmt.Errorf("invalid api base url")
	ErrInvalidRID        = fmt.Errorf("invalid rid")
	ErrInvalidAuthURL    = fmt.Errorf("invalid auth url")
)

Functions

func OauthAuthResultHandler

func OauthAuthResultHandler(app *server.App) http.HandlerFunc

Get /oauth/result

func OauthPageUrlHandler

func OauthPageUrlHandler(app *server.App) http.HandlerFunc

GET /oauth/page-url

func OauthRedirectHandler

func OauthRedirectHandler(app *server.App) http.HandlerFunc

Get /oauth/redirect

func RegisterRoutes

func RegisterRoutes(app *server.App)

Types

This section is empty.

Jump to

Keyboard shortcuts

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