users

package
v1.19.1 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SessionDuration = time.Hour * 3

SessionDuration is how long a session before it is considered expired

Functions

func NewAPI

func NewAPI(mdb *mongo.Database) apis.Users

NewAPI returns a new apiImpl object for photos

func SetSessionDuration added in v0.11.0

func SetSessionDuration(d time.Duration)

SetSessionDuration changes the session duration (intended for tests)

Types

This section is empty.

Jump to

Keyboard shortcuts

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