GAAS GFrame项目web后台
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.

22 lines
519 B

  1. // Copyright (c) Shenyang Leading Edge Intelligent Technology Co., Ltd. All rights reserved.
  2. package container
  3. // 组件信息接口
  4. type ComponentInformation interface {
  5. // 获取组件接口类型
  6. // 返回值:
  7. // 1.接口类型
  8. Interface() Interface
  9. // 获取是否是全局组件
  10. // 返回值:
  11. // 1.是否是全局组件
  12. IsGlobal() bool
  13. // 创建组件句柄
  14. // 参数
  15. // 1.当前会话上下文
  16. // 返回值:
  17. // 1.组件句柄
  18. // 2.错误
  19. BuildHandler(*SessionContext) (ComponentHandler, error)
  20. }