Documentation ¶
Index ¶
- type Query
- type SFRequest
- func (s *SFRequest) ChangeLogDebug()
- func (s *SFRequest) DownloadCover(coverUrl string) ([]byte, error)
- func (s *SFRequest) Get(endURL string, params Query) (gjson.Result, error)
- func (s *SFRequest) GetWeb(endURL string, params Query) (gjson.Result, error)
- func (s *SFRequest) Post(endURL string, params Query) (*resty.Response, error)
- func (s *SFRequest) PostWeb(endURL string, params Query) (gjson.Result, error)
- func (s *SFRequest) SetAuth(username string, password string)
- func (s *SFRequest) SetProxy(proxy string)
- func (s *SFRequest) SetRetryCount(retryCount int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Query ¶ added in v1.3.3
func (Query) ToStringMap ¶ added in v1.3.3
type SFRequest ¶
type SFRequest struct { Settings *sfsettings.Settings // contains filtered or unexported fields }
func NewReqClient ¶ added in v1.3.3
func NewReqClient() *SFRequest
func (*SFRequest) ChangeLogDebug ¶ added in v1.3.3
func (s *SFRequest) ChangeLogDebug()
func (*SFRequest) DownloadCover ¶ added in v1.3.3
func (*SFRequest) SetRetryCount ¶ added in v1.3.3
Click to show internal directories.
Click to hide internal directories.