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 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)
Click to show internal directories.
Click to hide internal directories.