renderers

package
v0.0.1-0...-1b1769d Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2023 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Renderer

type Renderer interface {
	Supports(mimetype string) bool
	Render(w http.ResponseWriter, r *http.Request, fd *filedata.FileData) error
}

func Lookup

func Lookup(mimetype string) (Renderer, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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