common

package
v0.0.0-...-a864060 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Config *viper.Viper
)
View Source
var (
	GenesisService *service.GenesisService
)

Functions

func InitConfig

func InitConfig(configFile string)

* 加载配置文件

func StartDb

func StartDb()

* * 启动数据库

func StartRedis

func StartRedis()

* * 启动redis

func StartService

func StartService()

Types

This section is empty.

Jump to

Keyboard shortcuts

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