config

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultConfig = &Config{}

Functions

func Init

func Init(nacosNamespace, nacosAddr string, port uint64, nacosUserName, nacosPwd string)

Types

type Config

type Config struct {
	Mysql            string   `yaml:"mysql"`
	Debug            bool     `yaml:"debug"`
	PlatformTenantID string   `yaml:"platformTenantID"`
	EnableTenant     bool     `yaml:"enableTenant"`
	BasicForm        []string `yaml:"basicForm"`
	BasicPage        []string `yaml:"basicPage"`
}

Jump to

Keyboard shortcuts

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