Basic

package module
v0.0.0-...-69c1c3c Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2019 License: MIT Imports: 2 Imported by: 2

README

Basic

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	XMLName      xml.Name      `xml:"config"`
	LogConfig    *logConfig    `xml:"logpara"`
	DBConfig     *DBConfig     `xml:"db_info"`
	FileConfig   *fileConfig   `xml:"file"`
	ServerConfig *serverConfig `xml:"manage"`
}

func GetServerConfig

func GetServerConfig() *Config

type DBConfig

type DBConfig struct {
	DB_server   string `xml:"db_server"`
	DB_port     string `xml:"db_port"`
	DB_name     string `xml:"db_name"`
	DB_user     string `xml:"db_user"`
	DB_password string `xml:"db_password"`
	DB_charset  string `xml:"db_charset"`
}

func (*DBConfig) GetDBSourceName

func (db *DBConfig) GetDBSourceName() string

Jump to

Keyboard shortcuts

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