config

package
v0.0.0-...-3f4f100 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExeSql

func ExeSql()

func GetDb

func GetDb() *gorm.DB

Types

type App

type App struct {
	Mode  Mode
	Resps map[string]resp.Resp
}
var AppC App

type Db

type Db struct {
	Ip       string
	Port     int
	Database string
	Password string
	Scripts  []string
}
var DbC Db

type Frontend

type Frontend struct {
	Dist string
}
var FrontendC Frontend

type Mode

type Mode string
const (
	Prod Mode = "prod"
	Dev  Mode = "dev"
)

type Server

type Server struct {
	Port int
}
var ServerC Server

Jump to

Keyboard shortcuts

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