funcs.go 3.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. package apis
  2. import "context"
  3. // 函数集合,注意:这里只起到声明作用
  4. type Funcs interface {
  5. ManagementAddProviderPlatform(ctx context.Context, req *ManagementAddProviderPlatformReq, reply *ManagementAddProviderPlatformReply) error
  6. ManagementDelProviderPlatform(ctx context.Context, req *ManagementDelProviderPlatformReq, reply *ManagementDelProviderPlatformReply) error
  7. ManagementUpdateProviderPlatform(ctx context.Context, req *ManagementUpdateProviderPlatformReq, reply *ManagementUpdateProviderPlatformReply) error
  8. ManagementGetProviderPlatformList(ctx context.Context, req *ManagementGetProviderPlatformListReq, reply *ManagementGetProviderPlatformListReply) error
  9. ManagementAddProviderApi(ctx context.Context, req *ManagementAddProviderApiReq, reply *ManagementAddProviderApiReply) error
  10. ManagementDelProviderApi(ctx context.Context, req *ManagementDelProviderApiReq, reply *ManagementDelProviderApiReply) error
  11. ManagementUpdateProviderApi(ctx context.Context, req *ManagementUpdateProviderApiReq, reply *ManagementUpdateProviderApiReply) error
  12. ManagementGetProviderApiList(ctx context.Context, req *ManagementGetProviderApiListReq, reply *ManagementGetProviderApiListReply) error
  13. DataApiAddApi(ctx context.Context, req *ManagementDataApiAddApiReq, reply *ManagementDataApiAddApiReply) error
  14. DataApiDeleteApi(ctx context.Context, req *ManagementDataApiDeleteApiReq, reply *ManagementDataApiDeleteApiReply) error
  15. DataApiModifyApi(ctx context.Context, req *ManagementDataApiModifyApiReq, reply *ManagementDataApiModifyApiReply) error
  16. DataApiGetAll(ctx context.Context, req *ManagementDataApiGetAllReq, reply *ManagementDataApiGetAllReply) error
  17. DataApiGetApiInfo(ctx context.Context, req *ManagementDataApiGetApiInfoReq, reply *ManagementDataApiGetApiInfoReply) error
  18. DataApiReleaseApi(ctx context.Context, req *ManagementDataApiReleaseApiReq, reply *ManagementDataApiReleaseApiReply) error
  19. DataApiAddQueryType(ctx context.Context, req *ManagementDataApiAddQueryTypeReq, reply *ManagementDataApiAddQueryTypeReply) error
  20. DataApiModifyQueryType(ctx context.Context, req *ManagementDataApiModifyQueryTypeReq, reply *ManagementDataApiModifyQueryTypeReply) error
  21. DataApiRemoveQueryType(ctx context.Context, req *ManagementDataApiRemoveQueryTypeReq, reply *ManagementDataApiRemoveQueryTypeReply) error
  22. DataApiGetQueryType(ctx context.Context, req *ManagementDataApiGetQueryTypeReq, reply *ManagementDataApiGetQueryTypeReply) error
  23. DataApiAddBaseApi(ctx context.Context, req *ManagementDataApiAddBaseApiReq, reply *ManagementDataApiAddBaseApiReply) error
  24. DataApiRemoveBaseApi(ctx context.Context, req *ManagementDataApiRemoveBaseApiReq, reply *ManagementDataApiRemoveBaseApiReply) error
  25. DataApiModifyBaseApi(ctx context.Context, req *ManagementDataApiModifyBaseApiReq, reply *ManagementDataApiModifyBaseApiReply) error
  26. DataApiGetBaseApi(ctx context.Context, req *ManagementDataApiGetBaseApiReq, reply *ManagementDataApiGetBaseApiReply) error
  27. //DataApiChangeBaseApiIndex(ctx context.Context, req *ManagementDataApiChangeBaseApiIndexReq, reply *ManagementDataApiChangeBaseApiIndexReply) error
  28. DataApiAddDataCombo(ctx context.Context, req *ManagementDataApiAddDataComboReq, reply *ManagementDataApiAddDataComboReply) error
  29. DataApiModifyDataCombo(ctx context.Context, req *ManagementDataApiModifyDataComboReq, reply *ManagementDataApiModifyDataComboReply) error
  30. DataApiRemoveDataCombo(ctx context.Context, req *ManagementDataApiRemoveDataComboReq, reply *ManagementDataApiRemoveDataComboReply) error
  31. DataApiGetDataCombo(ctx context.Context, req *ManagementDataApiGetDataComboReq, reply *ManagementDataApiGetDataComboReply) error
  32. //DataApiChooseProviderApi(ctx context.Context, req *ManagementDataApiChooseProviderApiReq, reply *ManagementDataApiChooseProviderApiReply) error
  33. }