Documentation ¶
Index ¶
- func CreateCredentials(u, p string) url.Values
- func CreateRequest(d url.Values, c *http.Cookie) (*http.Request, error)
- func GetInitialCookie() (*http.Cookie, error)
- func PageScraper(html string) (map[string]string, error)
- func PerformRequest(r *http.Request) (*http.Response, error)
- func ReadResponse(r *http.Response) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCredentials ¶
CreateCredentials allows to set user e password into a login request
func CreateRequest ¶
CreateRequest allows to create a new login request
func GetInitialCookie ¶
GetInitialCookie retrieve the sessionCookie which allows to perform login
func PageScraper ¶
PageScraper extracts value from the body html page
func PerformRequest ¶
PerformRequest allows to send the login request
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.