web

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthCallbackHandler

func AuthCallbackHandler(c *oauth2.Config, state string) http.HandlerFunc

AuthCallback receives the callback from the oauth provider with the credentials

func AuthHandler

func AuthHandler(c *oauth2.Config, state string) http.HandlerFunc

AuthHandler redirects to the oauth provider's credential acceptance page

func NewLogHandler

func NewLogHandler(log *zerolog.Logger) func(http.Handler) http.Handler

NewLogHandler creates an instance of an http handler used for logging

func VersionHandler

func VersionHandler() http.HandlerFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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