ioc

package module
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: Apache-2.0 Imports: 11 Imported by: 3

README

kid-ioc

A go runtime IoC framework

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetComponentByName

func GetComponentByName(name string) *meta.Meta

func GetComponents

func GetComponents(options ...registry.Option) []*meta.Meta

func GlobalRegistry added in v1.1.0

func GlobalRegistry() registry.Registry

func Register

func Register(cs ...interface{})

func RemoveComponents

func RemoveComponents(name string)

func Run

func Run(ops ...SettingOption) (*App, error)

func RunDebug

func RunDebug(setting DebugSetting, ops ...SettingOption) (*App, error)

func RunTest

func RunTest(t *testing.T, ops ...SettingOption) *App

Types

type DebugSetting added in v1.2.1

type DebugSetting struct {
	DisableConfig           bool
	DisableConfigDetail     bool
	DisableDependency       bool
	DisableDependencyDetail bool
	DisableUselessClass     bool
	PreciseArrow            bool
	Writer                  io.Writer
}

Directories

Path Synopsis
cmd
kioc Module
util
fas

Jump to

Keyboard shortcuts

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