server

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitMux

func InitMux(
	ctx context.Context,
	sf store.Factory,
	withProfiling bool,
) (http.Handler, error)

func NewScrapeServer

func NewScrapeServer(ctx context.Context, sf store.Factory) (*scrapeServer, error)

When the context passed here is cancelled, the associated fetcher will close and release any resources they have open.

Types

type BatchRequest

type BatchRequest struct {
	Urls []string `json:"urls"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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