goinicfg

package
v0.0.0-...-e3601d1 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2025 License: MulanPSL-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InjectGoiniConfig

func InjectGoiniConfig(s *GoiniConfig)

func LoadGoiniConfig

func LoadGoiniConfig() baseiface.ISingleton

Types

type GoiniConfig

type GoiniConfig struct {
	basedto.BaseEntitySingle
	ConfigFileName string
	// contains filtered or unexported fields
}

func FindBeanGoiniConfig

func FindBeanGoiniConfig() *GoiniConfig

func NewGoiniConfig

func NewGoiniConfig() *GoiniConfig

func (*GoiniConfig) CheckFileExist

func (ichubConfigIni *GoiniConfig) CheckFileExist(filename string) bool

func (*GoiniConfig) Find

func (ichubConfigIni *GoiniConfig) Find(key string) *ini.Section

func (*GoiniConfig) Find2Map

func (ichubConfigIni *GoiniConfig) Find2Map() map[string]string

func (*GoiniConfig) FindCms

func (ichubConfigIni *GoiniConfig) FindCms() *ini.Section

func (*GoiniConfig) FindGeneral

func (ichubConfigIni *GoiniConfig) FindGeneral() *ini.Section

logrus.Debug(cfgIni.Find("general"))

func (*GoiniConfig) FindMap

func (ichubConfigIni *GoiniConfig) FindMap(domain string) map[string]string

func (*GoiniConfig) Load

func (ichubConfigIni *GoiniConfig) Load(defFile string) error

Jump to

Keyboard shortcuts

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