server

package
v2.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2025 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Overview

server is a web application for converting MARC 034 strings in to bounding boxes (formatted as GeoJSON).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultFlagSet

func DefaultFlagSet() *flag.FlagSet

func Run

func Run(ctx context.Context) error

func RunWithFlagSet

func RunWithFlagSet(ctx context.Context, fs *flag.FlagSet) error

func RunWithOptions

func RunWithOptions(ctx context.Context, opts *RunOptions) error

Types

type RunOptions

type RunOptions struct {
	ServerURI              string
	MARC034Column          string
	MapProvider            string
	MapTileURI             string
	InitialView            string
	LeafletStyle           string
	LeafletPointStyle      string
	ProtomapsTheme         string
	EnableIntersects       bool
	SpatialDatabaseURI     string
	SpatialDatabaseSources map[string][]string
	Verbose                bool
}

func RunOptionsFromFlagSet

func RunOptionsFromFlagSet(fs *flag.FlagSet) (*RunOptions, error)

Jump to

Keyboard shortcuts

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