Documentation ¶
Index ¶
- Constants
- func Debug(v ...interface{})
- func Error(v ...interface{})
- func Info(v ...interface{})
- func InjectGoLog(s *GoLog)
- func InjectGoLogcli(s *GoLogcli)
- func InjectGoLogerr(s *GoLogerr)
- func InjectGoLogstat(s *GoLogstat)
- func LoadGoLog() baseiface.ISingleton
- func LoadGoLogcli() baseiface.ISingleton
- func LoadGoLogerr() baseiface.ISingleton
- func LoadGoLogstat() baseiface.ISingleton
- func LoadGofileUtil() baseiface.ISingleton
- func Stat(v ...interface{})
- func Warning(v ...interface{})
- type GoLog
- type GoLogcli
- type GoLogerr
- type GoLogstat
- type GofileUtil
- func (this *GofileUtil) CheckConfigFileExist(root, f string) bool
- func (this *GofileUtil) CheckFileExist(filename string) bool
- func (this *GofileUtil) Dir(pathfile string) string
- func (this *GofileUtil) FindRootDir() string
- func (this *GofileUtil) FindRootDirGoMod() string
- func (this *GofileUtil) FindRootPkg() string
- func (this *GofileUtil) GetCurPath() string
- func (this *GofileUtil) SetRootPkgEnv(p string)
- func (this *GofileUtil) TryFileExist(filename string) bool
- func (this *GofileUtil) UnZip(zipFile string, destPath string) error
- func (this *GofileUtil) Zip(srcPath string, destFile string) error
Constants ¶
View Source
const FILE_GOMOD = "go.mod"
View Source
const (
RotateSize = "100M" //1024 * 1024 * 20
)
Variables ¶
This section is empty.
Functions ¶
func InjectGoLog ¶
func InjectGoLog(s *GoLog)
func InjectGoLogcli ¶
func InjectGoLogcli(s *GoLogcli)
func InjectGoLogerr ¶
func InjectGoLogerr(s *GoLogerr)
func InjectGoLogstat ¶
func InjectGoLogstat(s *GoLogstat)
func LoadGoLog ¶
func LoadGoLog() baseiface.ISingleton
func LoadGoLogcli ¶
func LoadGoLogcli() baseiface.ISingleton
func LoadGoLogerr ¶
func LoadGoLogerr() baseiface.ISingleton
func LoadGoLogstat ¶
func LoadGoLogstat() baseiface.ISingleton
func LoadGofileUtil ¶ added in v1.0.505
func LoadGofileUtil() baseiface.ISingleton
Types ¶
type GoLog ¶
type GoLog struct { basedto.BaseEntitySingle Name string *glog.Logger // contains filtered or unexported fields }
https://blog.csdn.net/weixin_51261234/article/details/124504638
func FindBeanGoLog ¶
func FindBeanGoLog() *GoLog
func (*GoLog) SetLevelErr ¶ added in v1.0.501
type GoLogcli ¶
type GoLogcli struct { basedto.BaseEntitySingle GoLog }
func FindBeanGoLogcli ¶
func FindBeanGoLogcli() *GoLogcli
func NewGoLogcli ¶
func NewGoLogcli() *GoLogcli
type GoLogerr ¶
type GoLogerr struct { basedto.BaseEntitySingle *GoLog }
func FindBeanGoLogerr ¶
func FindBeanGoLogerr() *GoLogerr
func NewGoLogServerErr ¶
func NewGoLogServerErr() *GoLogerr
type GoLogstat ¶
type GoLogstat struct { basedto.BaseEntitySingle *GoLog }
func FindBeanGoLogstat ¶
func FindBeanGoLogstat() *GoLogstat
func NewGoLogStat ¶
func NewGoLogStat() *GoLogstat
type GofileUtil ¶ added in v1.0.505
type GofileUtil struct {
basedto.BaseEntitySingle
}
func FindBeanGofileUtil ¶ added in v1.0.505
func FindBeanGofileUtil() *GofileUtil
func NewGofileUtil ¶ added in v1.0.505
func NewGofileUtil() *GofileUtil
func (*GofileUtil) CheckConfigFileExist ¶ added in v1.0.505
func (this *GofileUtil) CheckConfigFileExist(root, f string) bool
func (*GofileUtil) CheckFileExist ¶ added in v1.0.505
func (this *GofileUtil) CheckFileExist(filename string) bool
func (*GofileUtil) Dir ¶ added in v1.0.505
func (this *GofileUtil) Dir(pathfile string) string
func (*GofileUtil) FindRootDir ¶ added in v1.0.505
func (this *GofileUtil) FindRootDir() string
func (*GofileUtil) FindRootDirGoMod ¶ added in v1.0.505
func (this *GofileUtil) FindRootDirGoMod() string
func (*GofileUtil) FindRootPkg ¶ added in v1.0.505
func (this *GofileUtil) FindRootPkg() string
func (*GofileUtil) GetCurPath ¶ added in v1.0.505
func (this *GofileUtil) GetCurPath() string
func (*GofileUtil) SetRootPkgEnv ¶ added in v1.0.505
func (this *GofileUtil) SetRootPkgEnv(p string)
func (*GofileUtil) TryFileExist ¶ added in v1.0.505
func (this *GofileUtil) TryFileExist(filename string) bool
Click to show internal directories.
Click to hide internal directories.