api

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

func NewServer(redis_config *redis.Options, disable_cache bool, cache_ttl int) chi.Router

Types

type ScrapeRequest

type ScrapeRequest struct {
	URL     string `json:"url"`
	Refresh bool   `json:"forceRefresh"`
	Raw     bool   `json:"raw"`
}

Jump to

Keyboard shortcuts

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