goconfig

package
v1.3.12 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 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
	BasePkgName     string
	PkgRootDir      string `json:"pkgDir"`
	RootDir         string `json:"rootDir"`

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

func Default

func Default() *GominiFilecfg

func FindBeanGominiFilecfg

func FindBeanGominiFilecfg() *GominiFilecfg

func NewGominiFilecfg

func NewGominiFilecfg() *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) InitPkg added in v1.0.402

func (self *GominiFilecfg) InitPkg(pkg string) error

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