LAPP标准接口程序
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.

16 lines
404 B

  1. // Copyright (c) Shenyang Leading Edge Intelligent Technology Co., Ltd. All rights reserved.
  2. package container
  3. import "reflect"
  4. type ComponentContainer interface {
  5. // 注册服务
  6. RegisterService(interface{}) error
  7. // 获取服务调用器
  8. GetServiceCaller(string) func([]reflect.Value) []reflect.Value
  9. }
  10. func NewComponentContainer() ComponentContainer {
  11. return NewDefaultComponentContainer()
  12. }