package
Version:
v0.0.0-...-d72b88c
Opens a new window with list of versions in this module.
Published: Feb 2, 2019
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
BasicGet is a simple wrapper over HTTP client
Get performs GET request according to passed parameters
IntoJSON builds and returns lambda, that will decode from JSON
results, obtained from functions like Only200
Only200 takes result from HTTP get and returns error
it HTTP status code not 200
If there were error already, it returns existing one
ReadFile returns contents of the file for specified url
type GetParams struct {
URL string
}
GetParams contains all the parameters for get request
Source Files
¶
Click to show internal directories.
Click to hide internal directories.