core

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DetectStatusPageType

func DetectStatusPageType(log *zap.Logger, restyClient *resty.Client) ([]string, []string)

DetectStatusPageType detects statuspage engine for all configured statuspage URLs.

func StartFetchingLoop

func StartFetchingLoop(ctx context.Context, wg *sync.WaitGroup,
	log *zap.Logger, client *resty.Client, targetURLs []string,
	fetcher func(*zap.Logger, *resty.Client, []string),
)

StartFetchingLoop starts a loop that fetches status pages.

Types

This section is empty.

Jump to

Keyboard shortcuts

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