endpointdiscovery

package
v0.0.0-...-0bdedc6 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Discover

func Discover(hostname string) (*m.EndpointDTO, error)

func DiscoverDNS

func DiscoverDNS(endpoint *Endpoint) (*m.Check, error)

func DiscoverHttp

func DiscoverHttp(endpoint *Endpoint) (*m.Check, error)

func DiscoverHttps

func DiscoverHttps(endpoint *Endpoint) (*m.Check, error)

func DiscoverPing

func DiscoverPing(endpoint *Endpoint) (*m.Check, error)

func InitEndpointDiscovery

func InitEndpointDiscovery() error

Types

type Endpoint

type Endpoint struct {
	Host string
	IsIP bool
	URL  *url.URL
}

func NewEndpoint

func NewEndpoint(hostname string) (*Endpoint, error)

Jump to

Keyboard shortcuts

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