Documentation ¶
Overview ¶
links
map.go
utl
worklink
Index ¶
- Variables
- func ChanIsFree() bool
- func Extract(ws *Wlstruct) (*Wlstruct, []Wlstruct, error)
- func GetContent(wls *Wlstruct, pathdir string) error
- func Mydomain(url string, dmn string) bool
- func PrintQueue()
- func Prtf(format string, a ...interface{})
- func Prtln(st string)
- func Replurl(wkslnk *Wlstruct, pathdir string, contentType string) (string, error)
- func SPrtErr(format string, a ...interface{}) error
- func SPrtInfo(format string, a ...interface{}) error
- func Savedoc(wls Wlstruct, pathfile string, contentType string) error
- type FileAttr
- type Wlstruct
- func (wls *Wlstruct) GetContentType() string
- func (wls *Wlstruct) GetDocaddr() *string
- func (wls *Wlstruct) GetLevel() int
- func (wls *Wlstruct) GetLink() string
- func (wls *Wlstruct) GetResponse() *http.Response
- func (wls *Wlstruct) GetSavepath() string
- func (wls *Wlstruct) GetUdocHTMLNode() *html.Node
- func (wls *Wlstruct) GetUdocPBytes() (*[]byte, error)
- func (wls *Wlstruct) IsContentType() bool
- func (wls *Wlstruct) IsContentTypeHTML() bool
- func (wls *Wlstruct) IsError() bool
- func (wls *Wlstruct) IsNeedSave() bool
- func (wls *Wlstruct) IsSavepath() bool
- func (wls *Wlstruct) IsUdocHTMLNode() (*html.Node, bool)
- func (wls *Wlstruct) IsUdocNil() bool
- func (wls *Wlstruct) SetContentType(sc string)
- func (wls *Wlstruct) SetDocaddr(da *string)
- func (wls *Wlstruct) SetError()
- func (wls *Wlstruct) SetErrorResset()
- func (wls *Wlstruct) SetLevel(lvl int)
- func (wls *Wlstruct) SetLink(lnk string)
- func (wls *Wlstruct) SetNeedSave(f bool)
- func (wls *Wlstruct) SetResponse(resp *http.Response)
- func (wls *Wlstruct) SetSavepath(sp string)
- func (wls *Wlstruct) SetUdoc(u interface{})
Constants ¶
This section is empty.
Variables ¶
View Source
var ChALinks = make(chan []Wlstruct, 5000000)
View Source
var ChLinks = make(chan Wlstruct, 50)
View Source
var Domain string
View Source
var Path string
View Source
var SavedFiles = make(tMapSavedFiles)
View Source
var Wg sync.WaitGroup
Functions ¶
func ChanIsFree ¶ added in v1.0.1
func ChanIsFree() bool
func GetContent ¶
func PrintQueue ¶
func PrintQueue()
Types ¶
type Wlstruct ¶
type Wlstruct struct { Link string Udoc interface{} Docaddr *string ContentType string Savepath string Resp *http.Response NeedSave bool Error bool Lvl uint16 }
func (*Wlstruct) GetContentType ¶
func (*Wlstruct) GetDocaddr ¶
func (*Wlstruct) GetResponse ¶
func (*Wlstruct) GetSavepath ¶
func (*Wlstruct) GetUdocHTMLNode ¶
func (*Wlstruct) GetUdocPBytes ¶
func (*Wlstruct) IsContentType ¶
func (*Wlstruct) IsContentTypeHTML ¶
func (*Wlstruct) IsNeedSave ¶
func (*Wlstruct) IsSavepath ¶
func (*Wlstruct) SetContentType ¶
func (*Wlstruct) SetDocaddr ¶
func (*Wlstruct) SetErrorResset ¶
func (wls *Wlstruct) SetErrorResset()
func (*Wlstruct) SetNeedSave ¶
func (*Wlstruct) SetResponse ¶
func (*Wlstruct) SetSavepath ¶
Click to show internal directories.
Click to hide internal directories.