skeleton.go 545 B

12345678910111213141516171819
  1. package specs
  2. import (
  3. "encoding/json"
  4. )
  5. type OutboundConfig struct {
  6. Protocol string `json:"protocol"`
  7. Settings json.RawMessage `json:"settings"`
  8. StreamSetting *StreamConfig `json:"streamSettings"`
  9. Metadata map[string]string `json:"metadata"`
  10. }
  11. type StreamConfig struct {
  12. Transport string `json:"transport"`
  13. TransportSettings json.RawMessage `json:"transportSettings"`
  14. Security string `json:"security"`
  15. SecuritySettings json.RawMessage `json:"securitySettings"`
  16. }