www

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: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConcordancesHandler

func ConcordancesHandler(opts *ConcordancesHandlerOptions) (http.Handler, error)

func DescendantsHandler

func DescendantsHandler(opts *DescendantsHandlerOptions) (http.Handler, error)

func HasConcordanceHandler

func HasConcordanceHandler(opts *HasConcordanceHandlerOptions) (http.Handler, error)

func HasPlacetypeHandler

func HasPlacetypeHandler(opts *HasPlacetypeHandlerOptions) (http.Handler, error)

func IdHandler

func IdHandler(opts *IdHandlerOptions) (http.Handler, error)

func NullIslandHandler

func NullIslandHandler(opts *NullIslandHandlerOptions) (http.Handler, error)

func PlacetypesHandler

func PlacetypesHandler(opts *PlacetypesHandlerOptions) (http.Handler, error)

func RecentHandler

func RecentHandler(opts *RecentHandlerOptions) (http.Handler, error)

func SearchHandler

func SearchHandler(opts *SearchHandlerOptions) (http.Handler, error)

func TemplateHandler

func TemplateHandler(opts *TemplateHandlerOptions) (http.Handler, error)

func TilesAPIHandler

func TilesAPIHandler(opts *TilesAPIHandlerOptions) (http.Handler, error)

Types

type ConcordancesHandlerOptions

type ConcordancesHandlerOptions struct {
	Spelunker     spelunker.Spelunker
	Authenticator auth.Authenticator
	Templates     *template.Template
	URIs          *httpd.URIs
}

type ConcordancesHandlerVars

type ConcordancesHandlerVars struct {
	PageTitle string
	URIs      *httpd.URIs
	Facets    []*spelunker.FacetCount
}

type DescendantsHandlerOptions

type DescendantsHandlerOptions struct {
	Spelunker     spelunker.Spelunker
	Authenticator auth.Authenticator
	Templates     *template.Template
	URIs          *httpd.URIs
}

type DescendantsHandlerVars

type DescendantsHandlerVars struct {
	PageTitle        string
	Id               int64
	URIs             *httpd.URIs
	Places           []spr.StandardPlacesResult
	Pagination       pagination.Results
	PaginationURL    string
	FacetsURL        string
	FacetsContextURL string
}

type HasConcordanceHandlerOptions

type HasConcordanceHandlerOptions struct {
	Spelunker     spelunker.Spelunker
	Authenticator auth.Authenticator
	Templates     *template.Template
	URIs          *httpd.URIs
}

type HasConcordanceHandlerVars

type HasConcordanceHandlerVars struct {
	PageTitle        string
	URIs             *httpd.URIs
	Concordance      *spelunker.Concordance
	Places           []spr.StandardPlacesResult
	Pagination       pagination.Results
	PaginationURL    string
	FacetsURL        string
	FacetsContextURL string
	Source           *sources.WOFSource
}

type HasPlacetypeHandlerOptions

type HasPlacetypeHandlerOptions struct {
	Spelunker     spelunker.Spelunker
	Authenticator auth.Authenticator
	Templates     *template.Template
	URIs          *httpd.URIs
}

type HasPlacetypeHandlerVars

type HasPlacetypeHandlerVars struct {
	PageTitle        string
	URIs             *httpd.URIs
	Placetype        *placetypes.WOFPlacetype
	Places           []spr.StandardPlacesResult
	Pagination       pagination.Results
	PaginationURL    string
	FacetsURL        string
	FacetsContextURL string
}

type IdHandlerAncestor

type IdHandlerAncestor struct {
	Placetype string
	Id        int64
}

type IdHandlerOptions

type IdHandlerOptions struct {
	Spelunker     spelunker.Spelunker
	Authenticator auth.Authenticator
	Templates     *template.Template
	URIs          *httpd.URIs
}

type IdHandlerVars

type IdHandlerVars struct {
	Id               int64
	RequestId        string
	URIArgs          *uri.URIArgs
	PageTitle        string
	URIs             *httpd.URIs
	Properties       string
	CountDescendants int64
	Hierarchies      [][]*IdHandlerAncestor
	RelPath          string
	GitHubURL        string
	WriteFieldURL    string
}

type NullIslandHandlerOptions

type NullIslandHandlerOptions struct {
	Spelunker     spelunker.Spelunker
	Authenticator auth.Authenticator
	Templates     *template.Template
	URIs          *httpd.URIs
}

type NullIslandHandlerVars

type NullIslandHandlerVars struct {
	PageTitle        string
	URIs             *httpd.URIs
	Places           []spr.StandardPlacesResult
	Pagination       pagination.Results
	PaginationURL    string
	FacetsURL        string
	FacetsContextURL string
}

type PlacetypesHandlerOptions

type PlacetypesHandlerOptions struct {
	Spelunker     spelunker.Spelunker
	Authenticator auth.Authenticator
	Templates     *template.Template
	URIs          *httpd.URIs
}

type PlacetypesHandlerVars

type PlacetypesHandlerVars struct {
	PageTitle string
	URIs      *httpd.URIs
	Facets    []*spelunker.FacetCount
}

type RecentHandlerOptions

type RecentHandlerOptions struct {
	Spelunker     spelunker.Spelunker
	Authenticator auth.Authenticator
	Templates     *template.Template
	URIs          *httpd.URIs
}

type RecentHandlerVars

type RecentHandlerVars struct {
	PageTitle     string
	URIs          *httpd.URIs
	Places        []spr.StandardPlacesResult
	Pagination    pagination.Results
	PaginationURL string
	// Duration         time.Duration
	Duration         *duration.Duration
	Since            string
	FacetsURL        string
	FacetsContextURL string
}

type SearchHandlerOptions

type SearchHandlerOptions struct {
	Spelunker     spelunker.Spelunker
	Authenticator auth.Authenticator
	Templates     *template.Template
	URIs          *httpd.URIs
}

type SearchHandlerVars

type SearchHandlerVars struct {
	PageTitle        string
	URIs             *httpd.URIs
	Places           []spr.StandardPlacesResult
	Pagination       pagination.Results
	PaginationURL    string
	FacetsURL        string
	FacetsContextURL string
	SearchOptions    *spelunker.SearchOptions
}

type TemplateHandlerOptions

type TemplateHandlerOptions struct {
	Authenticator auth.Authenticator
	Templates     *template.Template
	TemplateName  string
	PageTitle     string
	URIs          *httpd.URIs
}

type TemplateHandlerVars

type TemplateHandlerVars struct {
	Id         int64
	PageTitle  string
	URIs       *httpd.URIs
	Properties string
}

type TilesAPIHandlerOptions

type TilesAPIHandlerOptions struct {
	ProtomapsApiKey string
}

Jump to

Keyboard shortcuts

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