package
Version:
v0.0.0-...-0322436
Opens a new window with list of versions in this module.
Published: Jun 24, 2021
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
CheckStatus is a helper that can be used around http.Do().
It checks, that the returned status code is 200.
Client can send requests to the server.
New creates a client object. No requests are sent.
Do works like http.Client.Do().
Sets the csfr header.
Login uses the username and password to login the client. Sets the returned
cookie for later requests.
Option is an optional argument for New().
WithLoginRetry sets a number that login should retry befor failing.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.