subscription.go 764 B

12345678910111213141516
  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. FetchViaProxy bool `json:"fetch_via_proxy"`
  12. AllowSelfSignedCertificates bool `json:"allow_self_signed_certificates"`
  13. DisableHTTP2 bool `json:"disable_http2"`
  14. }