Documentation ¶
Index ¶
- func LoadIchubConfigIni() baseiface.ISingleton
- type IchubInicfg
- func (ichubConfigIni *IchubInicfg) CheckFileExist(filename string) bool
- func (ichubConfigIni *IchubInicfg) Find(key string) *ini.Section
- func (ichubConfigIni *IchubInicfg) Find2Map() map[string]string
- func (ichubConfigIni *IchubInicfg) FindCms() *ini.Section
- func (ichubConfigIni *IchubInicfg) FindGeneral() *ini.Section
- func (ichubConfigIni *IchubInicfg) FindMap(domain string) map[string]string
- func (ichubConfigIni *IchubInicfg) Load(defFile string) error
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
Click to show internal directories.
Click to hide internal directories.