user

package
v0.0.0-...-3719db4 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrBioLen      = errors.New("bio length too long")
	ErrHeadlineLen = errors.New("headline length too long")
	ErrMissingName = errors.New("name cannot be empty")
)

Functions

func GetSessionUser

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

func Routes

func Routes() chi.Router

func UpdateSessionUser

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

func UpdateUser

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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