baseiface

package
v1.4.107 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2024 License: MulanPSL-2.0 Imports: 0 Imported by: 141

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GofileUtil added in v1.0.506

type GofileUtil interface {
	FindRootPkg() string
	SetRootPkgEnv(p string)
	CheckConfigFileExist(root, f string) bool
	FindRootDir() string
	FindRootDirGoMod() string
	GetCurPath() string
	CheckFileExist(filename string) bool
	TryFileExist(filename string) bool
	UnZip(zipFile string, destPath string) error
	Zip(srcPath string, destFile string) error
	Dir(pathfile string) string
	FindPkgPath(pkg string) string
}

type IBinding added in v1.0.83

type IBinding interface {
	//绑定成员注入NEW方法
	Bind()
	FindBinding(key string) LoadBean
}

type ISingleton added in v1.0.53

type ISingleton interface {
	Single() bool

	InitProxy(some any)
}

NewBean

type IbaseProxy

type IbaseProxy interface {
	ISingleton
	IBinding

	String() string
	ToString() string
	ToPrettyString() string

	FromJsonAny(body []byte) any

	ToJson() string
	ToJsonBytes() []byte
	ValueOf(another any)

	Log()
	Clone() any
	ContainsType(name string) bool
}

type IcacheKey added in v1.4.102

type IcacheKey interface {
	CacheKey() string
}

type IgofileUtil added in v1.0.505

type IgofileUtil interface {
}

type LoadBean added in v1.0.88

type LoadBean func() ISingleton

创建bean的函数

Jump to

Keyboard shortcuts

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