commands

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: May 14, 2020 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CmdInstall string = "install"
	CmdRemove  string = "remove"
	CmdRestart string = "restart"
	CmdVersion string = "version"
)

Variables

This section is empty.

Functions

func CheckUpdate added in v0.5.1

func CheckUpdate()

检查最新版本.

func Install added in v0.5.1

func Install()

系统安装.

func ModifyPassword added in v0.13.1

func ModifyPassword()

修改用户密码

func RegisterAutoLoadConfig added in v0.13.1

func RegisterAutoLoadConfig()

自动加载配置文件.修改了监听端口号和数据库配置无法自动生效.

func RegisterCache added in v0.10.1

func RegisterCache()

注册缓存管道

func RegisterCommand

func RegisterCommand()

RunCommand 注册orm命令行工具

func RegisterDataBase

func RegisterDataBase()

RegisterDataBase 注册数据库

func RegisterError added in v1.0.3

func RegisterError()

注册错误处理方法.

func RegisterFileCache added in v1.0.8

func RegisterFileCache()

注册文件缓存

func RegisterFunction

func RegisterFunction()

注册模板函数

func RegisterLogger

func RegisterLogger(log string)

RegisterLogger 注册日志

func RegisterMemcacheCache added in v1.0.8

func RegisterMemcacheCache()

注册memcache 缓存

func RegisterModel

func RegisterModel()

RegisterModel 注册Model

func RegisterRedisCache added in v1.0.8

func RegisterRedisCache()

注册redis cache

func ResolveCommand added in v0.5.1

func ResolveCommand(args []string)

解析命令

func Version added in v0.5.1

func Version()

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