Documentation
¶
Index ¶
Constants ¶
View Source
const ( // should agree with client and server values eg server constants.go, ios Constants.swift /* server + client set values */ PASSWORD_MIN_LENGTH = 6 // USERNAME_MAX_LENGTH = 12 USERNAME_MIN_LENGTH = 4 // REGEX_USERNAME_CLIENT = "^@[-0-9a-zA-Z\\_]*$" // client side starts with @, server side does not REGEX_USERNAME_CLIENT = "^[-0-9a-zA-Z\\_]*$" // letters, numbers and underscore only REGEX_USERNAME_SERVER = "^[-0-9a-zA-Z\\_]*$" REGEX_EMAIL = "" /* 133-byte string literal not displayed */ /* server configs */ BRANDING = "ACloudApp.org" BRANDING2 = "acloudapp" // this is used for url eg acloudapp:// PASSWORD_TEMPORARY_EXPIRY = 12 // hours LOGGED_IN_EXPIRY = 24 * 5 // 5 days DEV_CHEAT_SLUG = "123xyz123" LOGGED_IN_EXPIRY_DEV_CHEAT = 24 * 365 DEFAULT_LANGUAGE = "en" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.