package
0.0.0-20241015194227-80fc91596c4c
Repository: https://github.com/cloudlink-omega/backend.git
Documentation: pkg.go.dev
# Constants
If the first bit is set, the admin is active (set false to revoke access).
Declare global constant for context key.
If the first bit is set, the developer account is active (set false to revoke access).
If the second bit is set, the developer account has been verified by the admin and is ready for use.
If the first bit is set, the developer member is active (set false to revoke access).
If the last bit is set, the developer member is the owner of the developer account.
If the first bit is set, the game ID is active and will permit players to join (set false to deny access).
If the fifth bit is set, the game is considered mature.
If the second bit is set, the game ID is verified and will permit protected features to be used (i.e.
If the third bit is set, the game supports cloud save slots.
If the fourth bit is set, the game supports voice chat.
If the sixth bit is set, the game uses other authentication methods.
Link mode for admin approve/deny developer account requests.
Link mode for verifying or unsubscribing an email.
Link mode for resetting passwords.
Default link mode.
If the first bit is set, the session is active (set false to revoke the session).
If the second bit is set, the session should have no TTL and should persist.
If the second bit is set, the account is activated and can be used (user has verified email).
If the last bit is set, the user is a server admin.
If the fourth bit is set, the account has been banned.
If the third bit is set, the account has been disabled.
If the fifth bit is set, this will disable sending emails to the user (i.e.
If the first bit is set, the welcome email has been sent successfully.
No description provided by the author
# Type aliases
Define custom type for context key, used for avoiding collisions.