baseiface

package
v0.0.0-...-e3601d1 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2025 License: MulanPSL-2.0 Imports: 0 Imported by: 217

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GofileUtil

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

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

type IEncDec

type IEncDec interface {
	EncBase64(text string) string
	DecBase64(text string) string
}

type ISingleton

type ISingleton interface {
	Single() bool
	IfAutowire() bool
	Autowire()
	ContainsStru(v any) bool

	InitProxy(some any)
}

NewBean

type IbaseConfig

type IbaseConfig interface {
	InjectConfigItem(some any)
}

type IbaseModel

type IbaseModel interface {
	BaseInt2Time()

	BaseTime2Int()
	IbizModel
}

type IbaseProxy

type IbaseProxy interface {
	ISingleton
	IBinding
	IpoolObj

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

	FromJsonAny(body []byte) any

	ToJson() string
	ToJsonBytes() []byte
	ValueOf(another any)
	ValueFrom(from any)
	Parse2Map() (map[string]any, error)

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

type IbizModel

type IbizModel interface {
	HandleCheck() error
	HandleRequest() error
	HandleResult() error
}

type IcacheKey

type IcacheKey interface {
	CacheKey() string
}

type IgofileUtil

type IgofileUtil interface {
}

type IpoolObj

type IpoolObj interface {
	Init()
	Shutdown()
}

type LoadBean

type LoadBean func() ISingleton

创建bean的函数

Jump to

Keyboard shortcuts

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