setting

package
v0.0.0-...-c42e73f Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Appsetting = &App{}
View Source
var Databasesetting = &Database{}
View Source
var Logicsetting = &Logic{}

Functions

This section is empty.

Types

type App

type App struct {
	Server string
}

func (*App) Getenv

func (as *App) Getenv()

type Database

type Database struct {
	Driver   string `toml:"driver"`
	Server   string `toml:"tcp"`
	User     string `toml:"user"`
	Pass     string `toml:"pass"`
	Database string `toml:"database"`
}

func (*Database) Getenv

func (ds *Database) Getenv()

type Logic

type Logic struct {
	Server string
}

func (*Logic) Getenv

func (ls *Logic) Getenv()

Jump to

Keyboard shortcuts

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