subscription.go 740 B

12345678910111213141516
  1. // Copyright 2020 Frédéric Guillot. All rights reserved.
  2. // Use of this source code is governed by the Apache 2.0
  3. // license that can be found in the LICENSE file.
  4. package model // import "miniflux.app/model"
  5. // SubscriptionDiscoveryRequest represents a request to discover subscriptions.
  6. type SubscriptionDiscoveryRequest struct {
  7. URL string `json:"url"`
  8. UserAgent string `json:"user_agent"`
  9. Cookie string `json:"cookie"`
  10. Username string `json:"username"`
  11. Password string `json:"password"`
  12. FetchViaProxy bool `json:"fetch_via_proxy"`
  13. AllowSelfSignedCertificates bool `json:"allow_self_signed_certificates"`
  14. }