proxy

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TMDBProxy

type TMDBProxy struct {
	TargetHost string
	// contains filtered or unexported fields
}

func New

func New(expiry, cleanupInterval time.Duration) *TMDBProxy

func (*TMDBProxy) Collect

func (p *TMDBProxy) Collect(ch chan<- prometheus.Metric)

func (*TMDBProxy) Describe

func (p *TMDBProxy) Describe(ch chan<- *prometheus.Desc)

func (*TMDBProxy) ServeHTTP

func (p *TMDBProxy) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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