subscription.go 819 B

1234567891011121314151617
  1. // SPDX-FileCopyrightText: Copyright The Miniflux Authors. All rights reserved.
  2. // SPDX-License-Identifier: Apache-2.0
  3. package model // import "miniflux.app/v2/internal/model"
  4. // SubscriptionDiscoveryRequest represents a request to discover subscriptions.
  5. type SubscriptionDiscoveryRequest struct {
  6. URL string `json:"url"`
  7. UserAgent string `json:"user_agent"`
  8. Cookie string `json:"cookie"`
  9. Username string `json:"username"`
  10. Password string `json:"password"`
  11. ProxyURL string `json:"proxy_url"`
  12. FetchViaProxy bool `json:"fetch_via_proxy"`
  13. AllowSelfSignedCertificates bool `json:"allow_self_signed_certificates"`
  14. DisableHTTP2 bool `json:"disable_http2"`
  15. }