Documentation
¶
Index ¶
Constants ¶
View Source
const ( USER_AGENT = "ayd/0.1.0 health check" HTTP_REDIRECT_MAX = 10 )
Variables ¶
View Source
var ( ErrInvalidURI = errors.New("invalid URI") ErrMissingScheme = errors.New("missing scheme in URI") ErrUnsupportedScheme = errors.New("unsupported scheme") )
View Source
var (
ErrRedirectLoopDetected = errors.New("redirect loop detected")
)
Functions ¶
This section is empty.
Types ¶
type ExecuteProbe ¶
type ExecuteProbe struct {
// contains filtered or unexported fields
}
func NewExecuteProbe ¶
func NewExecuteProbe(u *url.URL) (ExecuteProbe, error)
func (ExecuteProbe) Check ¶
func (p ExecuteProbe) Check() []store.Record
func (ExecuteProbe) Target ¶
func (p ExecuteProbe) Target() *url.URL
type SourceProbe ¶
type SourceProbe struct {
// contains filtered or unexported fields
}
func NewSourceProbe ¶
func NewSourceProbe(u *url.URL) (SourceProbe, error)
func (SourceProbe) Check ¶
func (p SourceProbe) Check() []store.Record
func (SourceProbe) Target ¶
func (p SourceProbe) Target() *url.URL
Click to show internal directories.
Click to hide internal directories.