You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
// Copyright (c) Shenyang Leading Edge Intelligent Technology Co., Ltd. All rights reserved.
|
|
|
|
package container
|
|
|
|
import "reflect"
|
|
|
|
type ComponentContainer interface {
|
|
// 注册服务
|
|
RegisterService(interface{}) error
|
|
// 获取服务调用器
|
|
GetServiceCaller(string) func([]reflect.Value) []reflect.Value
|
|
}
|
|
|
|
func NewComponentContainer() ComponentContainer {
|
|
return NewDefaultComponentContainer()
|
|
}
|