web

package
v0.0.0-...-4275943 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fetch

func Fetch(ctx context.Context, uri string) (string, error)

Fetch fetches HTML content from a URL with timeout.

func Scrape

func Scrape(ctx context.Context, html string) ([]*domain.Outage, error)

Scrape extracts outage information from the given HTML.

Types

This section is empty.

Jump to

Keyboard shortcuts

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