internal

package
v0.0.0-...-2660311 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DebugColor   = color.New(color.FgBlue)
	SuccessColor = color.New(color.FgGreen)
	ErrorColor   = color.New(color.FgRed)
)

Functions

This section is empty.

Types

type CheckerService

type CheckerService struct {
	// contains filtered or unexported fields
}

func NewCheckerService

func NewCheckerService(noOfWorkers int) CheckerService

NewParser creates new instance from the parser

func (*CheckerService) AddApiOutput

func (c *CheckerService) AddApiOutput()

func (*CheckerService) AddSite

func (c *CheckerService) AddSite(site string)

Add a new site to the checker service

func (*CheckerService) AddSocket

func (c *CheckerService) AddSocket(conn *websocket.Conn)

func (*CheckerService) GetApiOutput

func (c *CheckerService) GetApiOutput() []URLStatus

func (*CheckerService) Start

func (c *CheckerService) Start()

Start checker service

type Link struct {
	URL string
	// contains filtered or unexported fields
}

type URLStatus

type URLStatus struct {
	Err    string
	Status int64
	URL    string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL