proxima

package module
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2014 License: MIT Imports: 9 Imported by: 0

README

proxima

A customizable proxy of sorts.

Proxima relies on other caching services. Image caching and on the fly thumbnail generation is relayed to imageproxy.

Documentation

Index

Constants

View Source
const Version = "0.1.2"

Variables

This section is empty.

Functions

func Fetch

func Fetch(url string) ([]byte, *http.Response, error)

Fetch fetches a single URL and returns the body as []byte

func GndImageHandler

func GndImageHandler(options Options) http.Handler

GndImageHandler returns a depiction for a GND

func SameAsHandler

func SameAsHandler(options Options) http.Handler

SameAsHandler returns the reference to VIAF and DBP for a given GND

func URLHandler

func URLHandler(options Options) http.Handler

UrlHander handles basic caching of URL content

Types

type Options

type Options struct {
	Cache httpcache.Cache
}

Options are application options passed to all handlers

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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