cmd

package
v0.1.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Config  *iiifconfig.Config
	Sources []sources.Source
	Cache   caches.Cache
	Args    CommandOptions
)

Functions

func Check

func Check(e error)

Check ...

Types

type CommandOptions

type CommandOptions struct {
	Config   string `desc:"Path to a valid config file"`
	Host     string `default:"127.0.0.1:8080" desc:"Bind the server to this host and port"`
	Endpoint string `default:"http://127.0.0.1:8080/iiif" desc:"Use this endpoint in profiles"`

	sources.SourceOptions
	caches.CacheOptions
	metrics.MetricsOptions
}

func Init

func Init() CommandOptions

Jump to

Keyboard shortcuts

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