helpers

package
v1.0.143 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClientError

func ClientError(w http.ResponseWriter, status int)

func IsAuthenticated added in v1.0.143

func IsAuthenticated(r *http.Request) bool

IsAuthenticated figures determinates if an authenticated user exists in the session data

func NewHelpers

func NewHelpers(a *config.AppConfig)

NewHelpers makes application wide settings available in package helpers

func ServerError

func ServerError(w http.ResponseWriter, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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