Documentation ¶
Index ¶
Constants ¶
View Source
const (
System = "system"
)
Variables ¶
View Source
var (
InstanceNameIsTakenError = errors.New("[factory] instance name is already taken")
)
Functions ¶
func AddPostConfig ¶ added in v0.4.0
func AddPostConfig(params ...interface{})
func AddPreConfig ¶ added in v0.4.0
func AddPreConfig(params ...interface{})
Types ¶
type Factory ¶ added in v0.3.0
type Factory interface { Build(configs ...interface{}) Instantiate(configuration interface{}) Configurations() cmap.ConcurrentMap Configuration(name string) interface{} Instances() cmap.ConcurrentMap Instance(name string) interface{} AddInstance(name string, instance interface{}) error }
func GetFactory ¶ added in v0.3.0
func GetFactory() Factory
type Properties ¶ added in v0.3.0
type SystemConfiguration ¶
Click to show internal directories.
Click to hide internal directories.