injector

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BeanCache

type BeanCache struct {
	// contains filtered or unexported fields
}

func NewBeanCache

func NewBeanCache() *BeanCache

func (*BeanCache) Add

func (bc *BeanCache) Add(k string, v interface{})

type BeanFactoryImpl

type BeanFactoryImpl struct {
	// contains filtered or unexported fields
}
var BeanFactory *BeanFactoryImpl

func NewBeanFactory

func NewBeanFactory() *BeanFactoryImpl

func (*BeanFactoryImpl) Apply

func (bf *BeanFactoryImpl) Apply(bean interface{})

func (*BeanFactoryImpl) Config

func (bf *BeanFactoryImpl) Config(confList ...interface{})

func (*BeanFactoryImpl) Get

func (bf *BeanFactoryImpl) Get(v interface{}) interface{}

func (*BeanFactoryImpl) GetBeanMapper

func (bf *BeanFactoryImpl) GetBeanMapper() *BeanMapper

func (*BeanFactoryImpl) Set

func (bf *BeanFactoryImpl) Set(list ...interface{})

type BeanMapper

type BeanMapper struct {
	// contains filtered or unexported fields
}

BeanMapper 用于映射对象类型 和 对象实例的关系

func NewBeanMapper

func NewBeanMapper() *BeanMapper

func (*BeanMapper) Range

func (bf *BeanMapper) Range(f func(key, value any) bool)

Jump to

Keyboard shortcuts

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