parser

package
v0.1.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2019 License: BSD-3-Clause Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IIIFParameters

type IIIFParameters struct {
	Identifier string
	Region     string
	Size       string
	Rotation   string
	Quality    string
	Format     string
}

IIIFParameters ...

type IIIFQueryParser

type IIIFQueryParser struct {
	Opts *sanitize.Options
	Vars map[string]string
}

IIIFQueryParser ...

func NewIIIFQueryParser

func NewIIIFQueryParser(uri string, opts *sanitize.Options) (*IIIFQueryParser, error)

func (*IIIFQueryParser) GetIIIFParameter

func (p *IIIFQueryParser) GetIIIFParameter(key string) (string, error)

func (*IIIFQueryParser) GetIIIFParameters

func (p *IIIFQueryParser) GetIIIFParameters() (*IIIFParameters, error)

Jump to

Keyboard shortcuts

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