goconfig

package
v1.0.300 Latest Latest
Warning

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

Go to latest
Published: May 5, 2024 License: MulanPSL-2.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InjectGominiFilecfg

func InjectGominiFilecfg(s *GominiFilecfg)

func LoadGominiFilecfg

func LoadGominiFilecfg() baseiface.ISingleton

Types

type GominiFilecfg

type GominiFilecfg struct {
	basedto.BaseEntitySingle

	LogFileBaseName string //gonats.log
	LogFileDir      string
	//LogFilePath    string LogLevelType string
	BasePkgName string
	PkgRootDir  string `json:"pkgDir"`
	RootDir     string `json:"rootDir"`

	BaseEnvBathPath    string
	BaseEnvCmdBasePath string
	// contains filtered or unexported fields
}

func FindBeanGominiFilecfg

func FindBeanGominiFilecfg() *GominiFilecfg

func NewConfigPath added in v1.0.300

func NewConfigPath() *GominiFilecfg

func (*GominiFilecfg) FindPkg

func (self *GominiFilecfg) FindPkg(pkgPathName string) (*build.Package, error)

func (*GominiFilecfg) FindPkgRoot

func (self *GominiFilecfg) FindPkgRoot() (string, error)

func (*GominiFilecfg) FindRootDir

func (self *GominiFilecfg) FindRootDir() string

func (*GominiFilecfg) InitPkgPath

func (self *GominiFilecfg) InitPkgPath() error

const BASE_PKG = "gitee.com/ichub/godi/di"

Jump to

Keyboard shortcuts

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