agent

package
v0.0.0-...-df6a15f Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

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

Agent ...

func New

func New(endpoint, key string) *Agent

New ...

func (*Agent) Check

func (a *Agent) Check(website *api.Website) (*api.Check, error)

Check ...

func (*Agent) Report

func (a *Agent) Report(check *api.Check) error

Report ...

func (*Agent) Run

func (a *Agent) Run()

Run ...

type Timeline

type Timeline struct {
	Connection, DNS, Dial, TLS, Request, Wait, Response time.Time
}

Timeline ...

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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