api

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

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

Go to latest
Published: Apr 10, 2024 License: BSD-3-Clause Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultSVGSizes

func DefaultSVGSizes() map[string]SVGSize

func DescendantsFacetedHandler

func DescendantsFacetedHandler(opts *DescendantsFacetedHandlerOptions) (http.Handler, error)

func GeoJSONHandler

func GeoJSONHandler(opts *GeoJSONHandlerOptions) (http.Handler, error)

func GeoJSONLDHandler

func GeoJSONLDHandler(opts *GeoJSONLDHandlerOptions) (http.Handler, error)

func HasConcordanceFacetedHandler

func HasConcordanceFacetedHandler(opts *HasConcordanceFacetedHandlerOptions) (http.Handler, error)
func NavPlaceHandler(opts *NavPlaceHandlerOptions) (http.Handler, error)

NavPlaceHandler will return a given record as a FeatureCollection for use by the IIIF navPlace extension, specifically as navPlace "reference" objects.

func NullIslandFacetedHandler

func NullIslandFacetedHandler(opts *NullIslandFacetedHandlerOptions) (http.Handler, error)

func PlacetypeFacetedHandler

func PlacetypeFacetedHandler(opts *PlacetypeFacetedHandlerOptions) (http.Handler, error)

func RecentFacetedHandler

func RecentFacetedHandler(opts *RecentFacetedHandlerOptions) (http.Handler, error)

func SPRHandler

func SPRHandler(opts *SPRHandlerOptions) (http.Handler, error)

func SVGHandler

func SVGHandler(opts *SVGHandlerOptions) (http.Handler, error)

func SearchFacetedHandler

func SearchFacetedHandler(opts *SearchFacetedHandlerOptions) (http.Handler, error)

func SelectHandler

func SelectHandler(opts *SelectHandlerOptions) (http.Handler, error)

Types

type DescendantsFacetedHandlerOptions

type DescendantsFacetedHandlerOptions struct {
	Spelunker spelunker.Spelunker
}

type GeoJSONHandlerOptions

type GeoJSONHandlerOptions struct {
	Spelunker spelunker.Spelunker
}

type GeoJSONLDHandlerOptions

type GeoJSONLDHandlerOptions struct {
	Spelunker spelunker.Spelunker
}

type HasConcordanceFacetedHandlerOptions

type HasConcordanceFacetedHandlerOptions struct {
	Spelunker spelunker.Spelunker
}
type NavPlaceHandlerOptions struct {
	Spelunker   spelunker.Spelunker
	MaxFeatures int
}

type NullIslandFacetedHandlerOptions

type NullIslandFacetedHandlerOptions struct {
	Spelunker spelunker.Spelunker
}

type PlacetypeFacetedHandlerOptions

type PlacetypeFacetedHandlerOptions struct {
	Spelunker spelunker.Spelunker
}

type RecentFacetedHandlerOptions

type RecentFacetedHandlerOptions struct {
	Spelunker spelunker.Spelunker
}

type SPRHandlerOptions

type SPRHandlerOptions struct {
	Spelunker spelunker.Spelunker
}

type SVGHandlerOptions

type SVGHandlerOptions struct {
	Sizes     map[string]SVGSize
	Spelunker spelunker.Spelunker
}

type SVGSize

type SVGSize struct {
	Label     string
	MaxHeight int
	MaxWidth  int
}

type SearchFacetedHandlerOptions

type SearchFacetedHandlerOptions struct {
	Spelunker spelunker.Spelunker
}

type SelectHandlerOptions

type SelectHandlerOptions struct {
	Pattern   *regexp.Regexp
	Spelunker spelunker.Spelunker
}

Jump to

Keyboard shortcuts

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