service

package
v0.0.0-...-6ca55e1 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resizer

type Resizer struct {
	BaseURL string
	MaxSize image.Point
}

Resizer provides an `http.Handler` that resizes the provided images.

func New

func New() *Resizer

New returns an initialised `*Resizer`.

func (*Resizer) ServeHTTP

func (rs *Resizer) ServeHTTP(rw http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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