server

package
v0.6.5 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitMux

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

func NewScrapeServer

func NewScrapeServer(ctx context.Context) (*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