level

package
v5.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Level

type Level interface {
	Compliance() iiifcompliance.Compliance
	Endpoint() string
	Profile() string
}

func NewLevel0

func NewLevel0(config *iiifconfig.Config, endpoint string) (Level, error)

func NewLevelFromConfig

func NewLevelFromConfig(config *iiifconfig.Config, endpoint string) (Level, error)

type Level0

type Level0 struct {
	Level     `json:"-"`
	Formats   []string `json:"formats"`
	Qualities []string `json:"qualities"`
	Supports  []string `json:"supports"`
	// contains filtered or unexported fields
}

func (*Level0) Compliance

func (l *Level0) Compliance() iiifcompliance.Compliance

func (*Level0) Endpoint

func (l *Level0) Endpoint() string

func (*Level0) Profile

func (l *Level0) Profile() string

type Level2

type Level2 struct {
	Level     `json:"-"`
	Formats   []string `json:"formats"`
	Qualities []string `json:"qualities"`
	Supports  []string `json:"supports"`
	// contains filtered or unexported fields
}

func NewLevel2

func NewLevel2(config *iiifconfig.Config, endpoint string) (*Level2, error)

func (*Level2) Compliance

func (l *Level2) Compliance() iiifcompliance.Compliance

func (*Level2) Endpoint

func (l *Level2) Endpoint() string

func (*Level2) Profile

func (l *Level2) Profile() string

Jump to

Keyboard shortcuts

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