dormancy

package
v2.10.2 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: AGPL-3.0 Imports: 7 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