Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckError ¶
func CheckErrorExit ¶
func GetSourceIP ¶
Types ¶
type ProgessBar ¶
type ProgessBar struct {
// contains filtered or unexported fields
}
var ( ScreenshotBar *ProgessBar CrawlerBar *ProgessBar )
func NewBar ¶
func NewBar(name string) *ProgessBar
func (*ProgessBar) Add ¶
func (bar *ProgessBar) Add(delta int)
func (*ProgessBar) AddAndIncrementTotal ¶
func (bar *ProgessBar) AddAndIncrementTotal(delta int)
func (*ProgessBar) Done ¶
func (bar *ProgessBar) Done()
func (*ProgessBar) SetTotal ¶
func (bar *ProgessBar) SetTotal(total int)
func (*ProgessBar) Wait ¶
func (bar *ProgessBar) Wait()
type WaitGroupBar ¶
type WaitGroupBar struct {
// contains filtered or unexported fields
}
func InitWaitGroupBar ¶
func InitWaitGroupBar() *WaitGroupBar
func (*WaitGroupBar) AddBar ¶
func (groupBar *WaitGroupBar) AddBar(name string, main bool) *ProgessBar
func (*WaitGroupBar) Wait ¶
func (groupBar *WaitGroupBar) Wait()
Click to show internal directories.
Click to hide internal directories.