Documentation
¶
Index ¶
Constants ¶
View Source
const Auth_Kiev = "" /* 1488-byte string literal not displayed */
View Source
const BASE_ENDPOINT = "https://www.bing.com/images/create"
View Source
const BING_URL = "https://www.bing.com"
Variables ¶
View Source
var BadImagesLinks = []string{
"https://r.bing.com/rp/in-2zU3AJUdkgFe7ZKv19yPBHVs.png",
"https://r.bing.com/rp/TX9QuO3WzcCJz1uaaSwQAz39Kb0.jpg",
}
Functions ¶
This section is empty.
Types ¶
type BingImageClient ¶
type BingImageClient struct {
Headers map[string]string
Data url.Values
Cookies []*http.Cookie
Options IOptions
Client *http.Client
}
func NewBingImageClient ¶
func NewBingImageClient(options IOptions) *BingImageClient
type BingImgWork ¶
type BingImgWork struct {
Cookies []*http.Cookie
Client *http.Client
AuthCookie string
Name string
}
func NewBingImage ¶
func NewBingImage(cookie string) *BingImgWork
NewBingImage is a function that creates and returns a new BingImage with the given parameters
type ImageGen ¶
type ImageGen struct {
Thumbnail bool
// contains filtered or unexported fields
}
func NewImageGen ¶
func (*ImageGen) MakeThumbnail ¶
func (*ImageGen) SaveImages ¶
func (*ImageGen) UpdateHeader ¶
func (c *ImageGen) UpdateHeader()
Click to show internal directories.
Click to hide internal directories.