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
507 B

  1. // Copyright (c) Shenyang Leading Edge Intelligent Technology Co., Ltd. All rights reserved.
  2. package container
  3. // 调用器代理创建器接口
  4. type CallerBrokerBuilder interface {
  5. // 检查方法
  6. // 参数:
  7. // 1.要检查的方法
  8. // 返回值:
  9. // 1.错误
  10. Check(Method) error
  11. // 创建调用器代理
  12. // 检查方法
  13. // 参数:
  14. // 1.当前会话上下文
  15. // 2.要代理的调用器
  16. // 返回值:
  17. // 1.创建的调用器代理
  18. // 2.错误
  19. Build(*SessionContext, Caller) (Caller, error)
  20. }