app

package
v0.0.0-...-ccbf026 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2021 License: MPL-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	Router   *mux.Router
	Db       *sql.DB
	KeyStore *jwt.KeyStore
}

func NewApp

func NewApp() (*App, error)

func (*App) AuthenticateUser

func (app *App) AuthenticateUser(rw http.ResponseWriter, r *http.Request)

func (*App) CurrentUserProfile

func (app *App) CurrentUserProfile(rw http.ResponseWriter, r *http.Request)

func (*App) JwtPublicKeySet

func (app *App) JwtPublicKeySet(rw http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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