try_provider.go 510 B

1234567891011121314151617181920
  1. package apis
  2. type ProviderParam struct {
  3. Name string `json:"name"`
  4. Type string `json:"type"`
  5. In string `json:"in"`
  6. Value string `json:"value"`
  7. }
  8. type ManagementTryProviderReq struct {
  9. ProviderApiCode string `json:"provider_api_code"`
  10. ProviderApiHost string `json:"provider_api_host"`
  11. ProviderApiRouter string `json:"provider_api_router"`
  12. //Header map[string]string `json:"header"`
  13. Params []ProviderParam `json:"params"`
  14. }
  15. type ManagementTryProviderReply struct {
  16. Data string
  17. }