package
Version:
v0.0.0-...-0c2c550
Opens a new window with list of versions in this module.
Published: Mar 24, 2023
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const BaseURL = "https://news.ycombinator.com"
Login returns a *http.Client populated with the `user` cookie set upon successful login.
Token returns a *http.Client with a manually-set `user` cookie.
NewClient returns a *http.Client authenticated with the given user.
NewRequest returns a request URL with query parameters set to the given values.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.