Documentation ¶
Index ¶
- func EndpointFromRequest(r *gohttp.Request) string
- func ExampleHandler(root string) (gohttp.HandlerFunc, error)
- func ExpvarHandler(host string) (gohttp.HandlerFunc, error)
- func ImageHandler(config *iiifconfig.Config, driver iiifdriver.Driver, ...) (gohttp.HandlerFunc, error)
- func InfoHandler(config *iiifconfig.Config, driver iiifdriver.Driver) (gohttp.HandlerFunc, error)
- type IIIFParameters
- type IIIFQueryParser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EndpointFromRequest ¶
func ExampleHandler ¶
func ExampleHandler(root string) (gohttp.HandlerFunc, error)
func ExpvarHandler ¶
func ExpvarHandler(host string) (gohttp.HandlerFunc, error)
func ImageHandler ¶
func ImageHandler(config *iiifconfig.Config, driver iiifdriver.Driver, images_cache iiifcache.Cache, derivatives_cache iiifcache.Cache) (gohttp.HandlerFunc, error)
func InfoHandler ¶
func InfoHandler(config *iiifconfig.Config, driver iiifdriver.Driver) (gohttp.HandlerFunc, error)
Types ¶
type IIIFParameters ¶
type IIIFQueryParser ¶
type IIIFQueryParser struct {
// contains filtered or unexported fields
}
func NewIIIFQueryParser ¶
func NewIIIFQueryParser(r *gohttp.Request) (*IIIFQueryParser, error)
func (*IIIFQueryParser) GetIIIFParameter ¶
func (p *IIIFQueryParser) GetIIIFParameter(key string) (string, error)
func (*IIIFQueryParser) GetIIIFParameters ¶
func (p *IIIFQueryParser) GetIIIFParameters() (*IIIFParameters, error)
Click to show internal directories.
Click to hide internal directories.