framework

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SERVER_PORT      = 5000
	WWW_DIR          = "./www/"
	STATIC_DIRECTORY = WWW_DIR + "static/"

	// It is describes how you will point to static directory in templates
	TEMPLATE_STATIC_PATH = "/static/"
	TEMPLATE_DIR         = WWW_DIR + "templates/"
	TEMPLATE_EXT         = ".html"

	// Database:
	// DB can be one of these values: sqlite3, mysql, postgresql. 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
)

config.go is a global config for framework

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
database
srm

Jump to

Keyboard shortcuts

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