config

package
v0.0.0-...-f9f9384 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: Apache-2.0 Imports: 8 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  string
	Resps map[string]resp.Resp
	Jwt   Jwt
	I18n  string
}
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 Jwt

type Jwt struct {
	SignKey string
	Expire  int // second
}

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