Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BonCookie = "MHwwfC0xODMxNzI2NTk2fC03NjkzMjUxNzAzMnwxfDF8MXwx"
View Source
var UserAgent = "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"
Functions ¶
This section is empty.
Types ¶
type AccessToken ¶
func GetAccessToken ¶
func GetAccessToken(username string, password string) (*AccessToken, error)
func (*AccessToken) CreateGetRequest ¶
func (accessToken *AccessToken) CreateGetRequest(url string) (*http.Request, error)
func (*AccessToken) CreatePostRequest ¶
func (*AccessToken) CreatePutRequest ¶
Click to show internal directories.
Click to hide internal directories.