handlers

package
v0.0.0-...-66ab54c Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllAcces

func AllAcces(w http.ResponseWriter, r *http.Request)

func AverageGet

func AverageGet(ClientDB *db.MongoConnection) http.HandlerFunc

func AveragePost

func AveragePost(ClientDB *db.MongoConnection) http.HandlerFunc

func FileServer

func FileServer(r chi.Router)

func PrivateAccess

func PrivateAccess(w http.ResponseWriter, r *http.Request)

func PrivateAccessScoped

func PrivateAccessScoped(w http.ResponseWriter, r *http.Request)

func SessionForm

func SessionForm(w http.ResponseWriter, r *http.Request)

func SessionFormGet

func SessionFormGet(w http.ResponseWriter, _ *http.Request)

func ShowCredits

func ShowCredits(ClientDB *db.MongoConnection) http.HandlerFunc

func Test

func Test(w http.ResponseWriter, r *http.Request)

Types

type AllCredits

type AllCredits struct {
	NameProfile  string
	Credits      []schemas.Resumen
	MoneyInDays  float64
	StyleRecurse template.URL
	Success      bool
}

type ErrorNotFound

type ErrorNotFound struct {
	Type  int   `json:"type"`
	Error error `json:"error"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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