app

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2018 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Engine *gin.Engine
View Source
var Logger *onelog.Logger

Functions

func CheckServer

func CheckServer()

func GetDockerDB

func GetDockerDB() *gorm.DB

func GetSelfDB

func GetSelfDB() *gorm.DB

func InitCli

func InitCli()

func InitConfig

func InitConfig()

func InitDb

func InitDb()

func InitDockerDB

func InitDockerDB() *gorm.DB

func InitGin

func InitGin()

func InitLogger

func InitLogger()

func InitRedis

func InitRedis()

func InitSelfDB

func InitSelfDB() *gorm.DB

used for cli

func InitWeb

func InitWeb()

func RunWeb

func RunWeb()

Types

type Config

type Config struct {
	Name string
}

type Database

type Database struct {
	Self   *gorm.DB
	Docker *gorm.DB
}
var DB *Database

func (*Database) Close

func (db *Database) Close()

Jump to

Keyboard shortcuts

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