app

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 13, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AppDir    string       // 应用根目录
	ConfDir   string       // 配置目录
	LogDir    string       // 日志目录
	DataDir   string       // 存放session等
	AppConfig string       // 应用配置文件
	Installed bool         // 应用是否安装过
	Setting   *ini.Section // 应用配置
)

Functions

func CreateInstallLock

func CreateInstallLock() error

创建安装锁文件

func InitEnv

func InitEnv()

func IsInstalled

func IsInstalled() bool

判断应用是否安装过

Types

This section is empty.

Jump to

Keyboard shortcuts

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