framework

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 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. In next versions will be implented mysql and postgresql
	DB      = "sqlite3"
	DB_NAME = "database.sqlite3"
)

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

Jump to

Keyboard shortcuts

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