Documentation
¶
Index ¶
- func GetBeansByInterface(a interface{}) []*meta.Meta
- func GetBeansByInterfaceType(typ reflect.Type) []*meta.Meta
- func GetComponentByName(name string) *meta.Meta
- func GetComponents() []*meta.Meta
- func Register(cs ...interface{})
- func RemoveComponents(name string)
- func Run(ops ...SettingOption) error
- func RunDebug(ops ...SettingOption) error
- func RunTest(t *testing.T, ops ...SettingOption)
- type SettingOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBeansByInterface ¶
func GetComponentByName ¶
func GetComponents ¶
func RemoveComponents ¶
func RemoveComponents(name string)
func Run ¶
func Run(ops ...SettingOption) error
func RunDebug ¶
func RunDebug(ops ...SettingOption) error
func RunTest ¶
func RunTest(t *testing.T, ops ...SettingOption)
Types ¶
type SettingOption ¶
type SettingOption func(s *setting)
func SetComponents ¶
func SetComponents(c ...interface{}) SettingOption
func SetConfigPath ¶
func SetConfigPath(path string) SettingOption
func SetConfigSrc ¶
func SetConfigSrc(src []byte, configType string) SettingOption
func SetConfigStructure ¶
func SetConfigStructure(v any) SettingOption
Click to show internal directories.
Click to hide internal directories.