proxy.go 377 B

123456789101112131415161718192021
  1. package v1
  2. type Proxy struct {
  3. ReverseProxyId int64
  4. RequestHostType int32
  5. RequestHost string
  6. RequestHostExcludingPort bool
  7. RequestURI string
  8. StripPrefix string
  9. AutoFlush bool
  10. AddHeaders []string
  11. ProxyProtocolJSON []byte
  12. FollowRedirects bool
  13. Retry50X bool
  14. Retry40X bool
  15. }
  16. type ProxyProtocolJSON struct {
  17. IsOn bool `json:"isOn"`
  18. Version int `json:"version"`
  19. }