checker

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthKerberos

type AuthKerberos struct {
	ProxyAddr         string
	ProxyNodeAddr     string
	ProxyPort         int
	ProxyUsername     string
	ProxyPassword     string
	ConnectionTimeout int
	// contains filtered or unexported fields
}

func NewAuthKerberos

func NewAuthKerberos(ProxyAddr string, ProxyNodeAddr string, ProxyPort int, ProxyUsername string, ProxyPassword string, ConnectionTimeout int) (*AuthKerberos, error)

func (*AuthKerberos) Check

func (a *AuthKerberos) Check(urls []string, ch chan HealthResponse, wg *sync.WaitGroup)

type AuthNTLM

type AuthNTLM struct {
	ProxyAddr         string
	ProxyPort         int
	ProxyUsername     string
	ProxyPassword     string
	ConnectionTimeout int
	// contains filtered or unexported fields
}

func NewAuthNTLM

func NewAuthNTLM(ProxyAddr string, ProxyPort int, ProxyUsername string, ProxyPassword string, ConnectionTimeout int) *AuthNTLM

func (*AuthNTLM) Check

func (a *AuthNTLM) Check(urls []string, ch chan HealthResponse, wg *sync.WaitGroup)

type AuthNo

type AuthNo struct {
	ProxyAddr         string
	ProxyPort         int
	ConnectionTimeout int
	// contains filtered or unexported fields
}

func NewAuthNo

func NewAuthNo(ProxyAddr string, ProxyPort int, ConnectionTimeout int) *AuthNo

func (*AuthNo) Check

func (a *AuthNo) Check(urls []string, ch chan HealthResponse, wg *sync.WaitGroup)

type HealthResponse

type HealthResponse struct {
	URL          string
	AuthType     string
	Status       int
	ResponseTime float64
}

type Interface

type Interface interface {
	Check(urls []string, ch chan HealthResponse, wg *sync.WaitGroup)
}

Interface for publishers

Jump to

Keyboard shortcuts

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