Documentation ¶
Index ¶
Constants ¶
View Source
const ( SERVER_PORT = 5000 WWW_DIR = "./www/" STATIC_DIRECTORY = WWW_DIR + "static/" CLI_TEMPLATES_FOLDER = "./framework/_templates/" MODELS_FOLDER = "./framework/database/models/" MIGRATIONS_FOLDER = "./framework/database/migrations/" FRAMEWORK_TEMPLATES_FOLDER = "./framework/templates/" // It is describes how you will point to static directory in templates TEMPLATE_STATIC_PATH = "/static/" TEMPLATE_DIR = WWW_DIR + "templates/" TEMPLATE_EXT = ".html" PANIC_RECOVERY_PRODUCTION_ERROR_TEMPLATE = "" // Database: // DB can be one of these values: sqlite3, mysql, postgres. In case of sqlite3 only DB and DB_NAME required DB = "sqlite3" DB_NAME = "database.sqlite3" DB_USER = "" DB_PASSWORD = "" DB_URL = "" DB_PORT = 0 // Mail smtp // your mail FROM = "" MAIL_USER = "" MAIL_PASSWORD = "" MAIL_ADDRESS = "" MAIL_ADDRES_WITH_PORT = "" // optional DEV = true )
config.go is a global config for framework
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.