commands

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2019 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

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

func RegisterError()

注册错误处理方法.

func RegisterFunction

func RegisterFunction()

注册模板函数

func RegisterLogger

func RegisterLogger(log string)

RegisterLogger 注册日志

func RegisterModel

func RegisterModel()

RegisterModel 注册Model

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