Documentation
¶
Overview ¶
Package utl (fetcher.go) : These methods are for retrieving data from URL.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RequestParams ¶
type RequestParams struct { Method string APIURL string Data io.Reader AcceptHeader string Contenttype string Accesstoken string Dtime int64 }
RequestParams : Parameters for FetchAPI
func (*RequestParams) FetchAPI ¶
func (r *RequestParams) FetchAPI() ([]byte, error)
FetchAPI : For fetching data to URL.
func (*RequestParams) FetchAPIres ¶
func (r *RequestParams) FetchAPIres() (*http.Response, error)
FetchAPIres : For fetching data to URL.
Click to show internal directories.
Click to hide internal directories.