Thanks to visit codestin.com
Credit goes to pkg.go.dev

dormancy

package
v0.27.2-0...-a2d64c0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckInactiveUsers

func CheckInactiveUsers(ctx context.Context, logger slog.Logger, db database.Store) func()

CheckInactiveUsers function updates status of inactive users from active to dormant using default parameters.

func CheckInactiveUsersWithOptions

func CheckInactiveUsersWithOptions(ctx context.Context, logger slog.Logger, db database.Store, checkInterval, dormancyPeriod time.Duration) func()

CheckInactiveUsersWithOptions function updates status of inactive users from active to dormant using provided parameters.

Types

This section is empty.

Jump to

Keyboard shortcuts

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