core

package
v0.0.0-...-ceb20fc Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

The global values in the application.

Index

Constants

View Source
const (
	ConfigPath         string = "config.json" //配置文件存放位置
	LogPath            string = "log"         //日志文件
	DefaultSitePort    int    = 9710          //默认端口
	DefaultSiteName    string = "GoM-私人文件管理"  //默认站点名字
	DefaultFileRoot    string = "./files"     //默认文件根目录
	DefaultLogSaveDays int    = 30            //日志最大存储天数
)

The global constants.

Variables

View Source
var (
	App  application
	Conf config
	Log  logger
	DB   database
	Cron cron
)

The global variables.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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