configini

package
v1.4.131 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: MulanPSL-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadIchubConfigIni

func LoadIchubConfigIni() baseiface.ISingleton

Types

type IchubInicfg

type IchubInicfg struct {
	basedto.BaseEntity
	ConfigFileName string
	// contains filtered or unexported fields
}

func FindBeanIchubConfigIni

func FindBeanIchubConfigIni() *IchubInicfg

func NewIchubInicfg

func NewIchubInicfg() *IchubInicfg

func (*IchubInicfg) CheckFileExist

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

func (*IchubInicfg) Find

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

func (*IchubInicfg) Find2Map

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

func (*IchubInicfg) FindCms

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

func (*IchubInicfg) FindGeneral

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

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

func (*IchubInicfg) FindMap

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

func (*IchubInicfg) Load

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

Jump to

Keyboard shortcuts

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